Qualtrics Interview Question

All of the questions required recursion.