Q1.13MCQ1 mark, −0.25The most appropriate matching for the following pairs X: depth first search1: heap Y: breadth first search2: queueZ: sorting3: stack\begin{array}{|l|l|}\hline \text{X: depth first search} & \text{1: heap } \\\hline \text{Y: breadth first search} & \text{2: queue} \\\hline \text{Z: sorting} & \text{3: stack} \\\hline \end{array}X: depth first searchY: breadth first searchZ: sorting1: heap 2: queue3: stack is:(A)X - 1, Y - 2, Z - 3\text{X - 1, Y - 2, Z - 3}X - 1, Y - 2, Z - 3(B)X - 3, Y - 1, Z - 2\text{X - 3, Y - 1, Z - 2}X - 3, Y - 1, Z - 2(C)X - 3, Y - 2, Z - 1\text{X - 3, Y - 2, Z - 1}X - 3, Y - 2, Z - 1(D)X - 2, Y - 3, Z - 1\text{X - 2, Y - 3, Z - 1}X - 2, Y - 3, Z - 1Sign in to save attempts.Show answer← PreviousNext →SolutionsDiscussionLoading…Sign in with Google