about | help | code help+videos | done | prefs |
Given an input String str, which contains (at most one) sequence of A's, return an integer indicating the length of this sequence. lengthOfAs("abcAAAabc") → 3 lengthOfAs("aAa") → 1 lengthOfAs("AAA") → 3 ...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: 210
Copyright Nick Parlante 2017 - privacy