Bloomberg logoBloomberg
Coding·60 minMembers

Decode String

Members only

Decode a string encoded with the `k[encoded_string]` repetition rule, supporting arbitrary nesting and multi-digit counts. A staple Bloomberg phone-screen problem where the interviewer pushes for the ...

SWE
stack
string-processing
parsing
recursion
medium
Frequency
Single report
Last asked
2026-01-08
Stage
phone-screen · onsite-coding

Log in to continue reading the full content