Question d’entretien chez Intuit

I was given a DSA problem to solve Decode String (LeetCode)