James interview question

they asked about recursion, arrays.