about | help | code help+videos | done | prefs |
firstLetters
Return an ArrayList of Strings which contains the first letter, in lowercase, of each word in a sentence in alphabetical order with no duplicates firstLetters("Hello there") → ["h", "t"] firstLetters("She sells sea shells by the seashore") → ["b", "s", "t"] firstLetters("Hello my lady, goodbye my lady") → ["g", "h", "l", "m"] ...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: 200
Copyright Nick Parlante 2017 - privacy