Given the list of tasks in Col-A and list of data structure in Col-B. Identify the best match.
Given the list of tasks in Col-A and list of data structure in Col-B. Identify the best match.
Col-A | Col-B
A. Recursion | (i) Binary tree
B. Scheduling | (ii) Stack
C. Sorting | (iii) Queue
Show answerHide answer
Correct answer: (D) A-(ii), B-(iii), C-(i)
Explanation
Recursion uses a stack of activation records, scheduling uses a queue (first come, first served), and sorting can use a binary tree (as in a BST or heap).