Question: Q 2 ( Recursive Thinking 2 ) : Write a function recursiveMax ( int [ ] arr ) , that returns the maximum value in
QRecursive Thinking :
Write a function recursiveMaxint arr that returns the maximum value in the
array, by calling itself recursively twice java
Note: In your own free time, you should also try to write the same function by
calling itself only once and this one is easier than the given question
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
