SIG (Susquehanna)Software EngineerSenior Software EngineerQuestion #2

Compress a string such that repeated characters are replaced by the character followed by the number of repetitions. For example, given 'AAABBCC', output 'A3B2C2'.

Unlock the Full Solution

Enter your email to get the detailed step-by-step solution to this SIG (Susquehanna) interview question, plus access to free interview prep resources.

We'll also send you a free HFT mock interview video.

Get All 120+ SIG (Susquehanna) Questions with Solutions

Plus 16+ hours of video lectures, resume tailoring, and 1:1 mentorship from quants.

Schedule a Call