

McqMate
Q. |
Give timing complexities of three sorting algorithms bubble sort,selection sort,insertion sort respectively. |
A. | 0(log n), 0(log n), o(log n) |
B. | o(n2), o(n2), o(n2) |
C. | o(n2), o(n log n), o(n log n) |
D. | o(n log n), o(n2), o(n log n) |
Answer» B. o(n2), o(n2), o(n2) |
View all MCQs in
Data Structure and Algorithms (DSA)No comments yet