Sandy String
CodeChefOpen on judge ↗
Note - Question can be tricky. Come back, when you have solved easy ones. Himanshu gives you a string S. Find out the length of substring of maximum length which satisfies Sandy's criteria. A string is said to be satisfying Sandy's criteria if all the characters of the string are same. Input First line contains an integer T, the number of testcases. First line of each testcase, contains a stri
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start