Amadeus Interview Question

Write a recursive string parser (in the online test).