about | help | code help+videos | done | prefs |
Write a method that returns an array of all the string lengths in the input parameter array of strings, such that each index in the returned result indicates the length of the string at that same index in 'strs'. Look at the test data for examples. test2023_11_02_APP1SLHL_stringLengths(["DeLand High School", "Bulldogs"]) → [18, 8] test2023_11_02_APP1SLHL_stringLengths([]) → [] test2023_11_02_APP1SLHL_stringLengths(["testing", "this"]) → [7, 4] ...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: 210
Copyright Nick Parlante 2017 - privacy