| about | help | done | prefs | create account |
Java > AP-1 > wordsWithoutList
prev | next | chance
| Given an array of strings, return a new List (e.g. an ArrayList) where all the strings of the given length are omitted. See wordsWithout() below which is more difficult because it uses arrays.
wordsWithoutList({"a", "bb", "b", "ccc"}, 1) → {"bb", "ccc"} wordsWithoutList({"a", "bb", "b", "ccc"}, 3) → {"a", "bb", "b"} wordsWithoutList({"a", "bb", "b", "ccc"}, 4) → {"a", "bb", "b", "ccc"} ...Save, Compile, Run See also Java Example Code. Java help docs: If Boolean Logic | Strings | While and For Loops | Arrays and Loops |
Forget It! -- delete my code for this problem
New just for fun
Random User Progress Graphs
Random Epic Graphs
221.0
Copyright Nick Parlante 2006-11 - privacy