Available question text
Return the length of the longest contiguous run of the same character in string s — i.e., the maximum length of any substring made of a single repeated character. (n ≤ 500, lowercase letters.)
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
Meta
Leetcode 1446. Consecutive Characters
Reported Sep 8, 2025 · 1 source report
SENIOR
Source snapshot: Nov 12, 2026
View source