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

 

removeLowerVals


The method removeLowerVals() runs through an integer arraylist and removes any value that is less than the minimum value specified.


removeLowerVals([1, 2, 5, 6, 7, 8, 1, 2], 5) → [5, 6, 7, 8]
removeLowerVals([1, 1, 1, 1, 5, 5, 5, 5, 5], 3) → [5, 5, 5, 5, 5]
removeLowerVals([1, 2, 3, 4, 5, 6, 7, 8, 9], 6) → [6, 7, 8, 9]

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

public ArrayList<Integer> removeLowerVals(ArrayList<Integer> lst, int min){ }

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 Post-solution available

Copyright Nick Parlante 2017 - privacy