about | help | code help+videos | done | prefs |
Given a boolean array named "arr", return true if there is only one value of true in the array and false if there are multiple values of true or no values of true in the array. array_onlyOneTrue([]) → false array_onlyOneTrue([true]) → true array_onlyOneTrue([true, true]) → 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
Copyright Nick Parlante 2017 - privacy