X281: 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.


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

Your Answer:


Practice a different Java exercise


Your feedback will appear here when you check your answer.