Decagon interview question

Coding - leetcode 1 String parsing, 1 backtracking