4 Consecutive Character --> Leetcode November 2020 Challenge
Nov 3, 2020 · 3 min read · Question Given a string s, the power of the string is the maximum length of a non-empty substring that contains only one unique character. Return the power of the string. Example 1: Input: s = "leetcode" Output: 2 Explanation: The substring "ee" is ...
Join discussion
