Q. Which operation in the Disjoint Set Union is used to determine which set a particular element belongs to?
-
A.
Union
-
B.
Find
-
C.
Insert
-
D.
Delete
Solution
The 'Find' operation is used to determine which set a particular element belongs to in the Disjoint Set Union.
Correct Answer:
B
— Find
Learn More →
Q. Which sorting algorithm is not a comparison-based sort?
-
A.
Merge Sort
-
B.
Quick Sort
-
C.
Heap Sort
-
D.
Counting Sort
Solution
Counting Sort is not a comparison-based sorting algorithm; it uses counting to sort elements.
Correct Answer:
D
— Counting Sort
Learn More →
Showing 181 to 182 of 182 (7 Pages)