about | help | code help+videos | done | prefs |
removeLessThanFiveOrGreaterThanSixList
Given an ArrayList of Doubles, return the ArrayList after removing all elements with values less than 5 or greater than 6. removeLessThanFiveOrGreaterThanSixList([0.11, 3.1, 5.0, 7.5]) → [5.0] removeLessThanFiveOrGreaterThanSixList([0.0, 0.0, 2.0, 3.0, 4.0, 5.0, 5.0, 6.0]) → [5.0, 5.0, 6.0] removeLessThanFiveOrGreaterThanSixList([6.0, 5.0, 0.2, 0.2, 0.5, 4.0, 5.0, 5.5, 5.9, 0.12, 45.0]) → [6.0, 5.0, 5.0, 5.5, 5.9] ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy