Waymo logoWaymo
Coding·45 minMembers

Decode String with `(group){k}` Repeat Syntax

Members only

Phone screen variant of LeetCode 394 (Decode String). The repeat-count syntax is `(group){k}` instead of `k[group]`. Nested repeats such as `"a(b(c){2}){2}"` must expand correctly. Solvable with the s...

SWE
stack
parsing
string
recursion
medium
Frequency
Single report · New
Last asked
2026-05-13
Stage
phone-screen

Log in to continue reading the full content