| about | help | code help+videos | done | prefs |
Given a list of names return the index of the one that comes first alphabetically. firstName(["Aaron", "Ken", "Gena", "Jason", "Brandy"]) → 0 firstName(["Rich", "David", "Nolan", "Gunnar", "Sam"]) → 1 firstName(["Michelle", "Kim", "Karen", "Lena", "Mary", "Nora"]) → 2 ...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: 150
Copyright Nick Parlante 2017 - privacy