0
/ 1.0
For function recursiveMin
, write the missing part of the recursive call. This function should return the minimum element in an array of...
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 feedback will appear here when you check your answer.