1. Computer Science Engineering (CSE)
  2. Design and Analysis of Algorithms
  3. Which of the following methods can be us...
Q.

Which of the following methods can be used to find the largest and smallest number in a linked list?

A. recursion
B. iteration
C. both recursion and iteration
D. impossible to find the largest and smallest numbers
Answer» C. both recursion and iteration
Explanation: both recursion and iteration can be used to find the largest and smallest

Discussion