Hertz interview question

Leetcode 394. Decode String Design API for a parking garage