Later interview question

Question involving recursion and array iteration.