about | help | code help+videos | done | prefs |
Given an array of Strings! Find the position of the first element with the length of 3. If one doesn't exist, return -1. posThree(["Sara", "Sally", "Steve"]) → -1 posThree(["yes", "yes", "no"]) → 0 posThree(["word up", "ben", "can", "run"]) → 1 ...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