Which of the following methods can be used to find the largest and smallest element in an array?
(a) Recursion
(b) Iteration
(c) Both recursion and iteration
(d) No method is suitable
This question was addressed to me in examination.
I would like to ask this question from Largest and Smallest Number in an Array using Recursion topic in portion Recursion of Data Structures & Algorithms II