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

 

srp4379@lausd.net >
prev  |  next  |  chance

public boolean isMountain. Returns true if the values in the array (nums) are ordered as a mountain; otherwise returns false. The array is a mountain if (1) there must be a peak; (2) the elements with an index smaller than the peak's index must appear in increasing order; (3) the elements with an index larger than the peak's index must appear in decreasing order.


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

}

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

Copyright Nick Parlante 2017 - privacy