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


AP-1 > scoresIncreasing
prev  |  next  |  chance

Given an array of scores, return true if each score is equal or greater than the one before. The array will be length 2 or more.

scoresIncreasing([1, 3, 4]) → true
scoresIncreasing([1, 3, 2]) → false
scoresIncreasing([1, 1, 4]) → true

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

public boolean scoresIncreasing(int[] scores) { }

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: 203.0

Copyright Nick Parlante 2017 - privacy