about | help | code help+videos | done | prefs |
array_firstTrue
Given a boolean array "arr", return the index of the first true value in the array. Return -1 if you find no values of true. array_firstTrue([]) → -1 array_firstTrue([true]) → 0 array_firstTrue([false, true]) → 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
Copyright Nick Parlante 2017 - privacy