id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

dsawyer@methacton.org arrays_level_2 > sequential
prev  |  next  |  chance

Returns true if the given array are arranged in increasing sequential order; otherwise returns false. Return true if the array length is less than two.


sequential([5, 6, 7]) → true
sequential([3, 6, 9]) → false
sequential([2, 3]) → true

...Save, Compile, Run (ctrl-enter)

public boolean sequential( int [] nums ){ }

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Java Help

Misc Code Practice

Difficulty: 200

Copyright Nick Parlante 2017 - privacy