FunnyAlgorithms icon indicating copy to clipboard operation
FunnyAlgorithms copied to clipboard

Decode string

Open rachitsgh opened this issue 2 years ago • 0 comments

i have pushed a funnyAlgorithm to Decode strings

Example 1:

Input: s = "3[a]2[bc]" Output: "aaabcbc" Example 2:

Input: s = "3[a2[c]]" Output: "accaccacc" Example 3:

Input: s = "2[abc]3[cd]ef" Output: "abcabccdcdcdef"

rachitsgh avatar Oct 20 '23 04:10 rachitsgh