Which of the following methods can be used to find the largest and smallest number in a linked list?
(c) Both Recursion and iteration
(d) Impossible to find the largest and smallest numbers
This question was posed to me during a job interview.
This question is from Largest and Smallest Number in a Linked List using Recursion in chapter Recursion of Data Structures & Algorithms II