about | help | code help+videos | done | prefs |
APCS String 2, Problem 13. Given a string, return the length of the largest "block" in the string. A block is a run of adjacent chars that are the same. S213_maxBlock("hoopla") → 2 S213_maxBlock("abbCCCddBBBxx") → 3 S213_maxBlock("") → 0 ...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