Decode String

Stack · Save outer context before nested work · Stretch · about 28 min

Why it matters

It reinforces the real reason stacks fit nested syntax.

How it connects

A stack resolves nesting again, this time preserving an unfinished string and repeat count.

Try first

When you enter brackets, what outer work must be saved until the inner text is complete?

Interview cue

The stack stores one frame per unfinished bracket level, just like nested function calls.