about | help | code help+videos | done | prefs |
removeWordsOfLength
This is very similar to the 2004A1 WordList FRQ. Loop through an ArrayList of Strings and remove any String that has a length equal to the argument len. Finally, return the modified list. removeWordsOfLength(["a", "be", "see"], 1) → ["be", "see"] removeWordsOfLength(["a", "be", "see"], 2) → ["a", "see"] removeWordsOfLength(["a", "be", "see"], 3) → ["a", "be"] ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 475
Copyright Nick Parlante 2017 - privacy