#64. maxBlock
maxBlock
Background
Description
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.
Format
Input
Output
Samples
hoopla
2
abbCCCddBBBxx
3
0
Limitation
1s, 1024KiB for each test case.