SAP Concur interview question

one problem that required recursion.