Oracle logoOracle
Coding·45 minMembers

Decode String (k[encoded])

Members only

Decode a string of the form `k[encoded_string]`, where the bracketed segment repeats exactly `k` times and nesting is allowed. It has appeared as the LC 394 prompt in both an Oracle Health phone scree...

SWE
string
stack
recursion
compression
medium
Frequency
Low
Last asked
2026-08-11
Stage
phone-screen · onsite-coding

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...