Graph Theory · Discrete Mathematics
86 questions · asked in 25 of 27 years (2000–2026)
MCQ 59 · MSQ 9 · NAT 181-mark 55 · 2-mark 31
2000Questions per year2026
Questions 86–86 of 86
The most appropriate matching for the following pairs is:
Answer: (C)
DFS uses a stack. With recursion the stack is the call stack, and without recursion it is an explicit stack.
BFS uses a queue directly in the algorithm.
Heap goes with Heapsort.
Answer: (C)
BFS uses a queue directly in the algorithm.
Heap goes with Heapsort.
Answer: (C)
Keep practising