X271: Recursion Programming Exercises: Minimum of array

For function recursiveMin, write the missing part of the recursive call. This function should return the minimum element in an array of integers. You should assume that recursiveMin is initially called with startIndex = 0.

Examples:

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

Your Answer:

Reset

Practice a different Java exercise

Feedback

Your feedback will appear here when you check your answer.