solulubeta
Sign in
DSA Basics / Building up
02.12 · Problem

The Longest Cheer

Easy Run length in one pass Pro

This problem is part of solulu Pro

During a match a bot records the crowd's chant as letters. When the same letter repeats several times in a row, that is one long cheer. The commentator wants the length of the longest cheer.

Lifetime ₹2,000 ₹1,000 · Beta offer
Mark this problem as solved when you are finished.

Item 42 of 90 · updated 2026-10-12