03.02 · Problem
Decode the Compressed Message
This problem is part of solulu Pro
A messaging app compresses repeated text as k[text], meaning the text is repeated k times; these can be nested. For example 3[a2[c]] means accaccacc. Given a valid compressed message, return the original.
Lifetime ₹1,999 ₹999 · Launch offer
Item 42 of 94 · updated 2026-10-12