← All problemsSign in

Shrink It

Our Marketing Head, Aman was thinking about compression of data for his work. Being inspired, one of our technical member, Aayush told him a way of the solution. But he is busy enough for his CA and unable to write that program right now. Also Aman is weak in programming. You, as a programmer, write a program on Aayush’s idea that whenever there are same characters occurring consecutively (more t

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start