about | help | code help+videos | done | prefs |
Given an ArrayList of String values, return an ArrayList of Integers, whose values are the lengths of the input Strings that are divisible by 2. The output elements will be in the same order as the input elements, though of course the output list may well be smaller. apcsaListEvenStrings(["body", "hey", "via", "evilly"]) → [4, 6] apcsaListEvenStrings(["1", "12", "123", "1234", "12345", "123456"]) → [2, 4, 6] apcsaListEvenStrings(["1", "123", "12345"]) → [] ...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: 220
Copyright Nick Parlante 2017 - privacy