about | help | code help+videos | done | prefs |
Do not sort the array. Return true if the word at the given index "i" is a plural word (ends with s). If the index is invalid, return false. isPlural(["ball", "apple", "cat"], 2) → false isPlural(["cogito", "ergo", "sum"], 2) → false isPlural(["cogito", "ergo", "sum"], 3) → false ...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: 100
Copyright Nick Parlante 2017 - privacy