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
Low
Last asked
2026-10-05
Stage
phone-screen · onsite-coding

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...