X273: Recursion Programming Exercise: Largest

Write the missing base case for function 'largest'. Function 'largest' should find the largest number in array "numbers". Note that when "largest" is first called, "index" is 0.

Examples:

largest({2, 4, 8}, 0) -> 8

Your Answer:

Reset

Feedback

Your feedback will appear here when you check your answer.