InterviewSolution
Saved Bookmarks
| 1. |
Library sort is a comparison based sort.(a) true(b) falseThis question was addressed to me in my homework.My question is based upon Sorting topic in division Sorting of Data Structures & Algorithms II |
|
Answer» CORRECT choice is (a) true Easy EXPLANATION - In library sort, we need to compare elements in order to insert them at the correct index. So we can say that it uses comparisons in order to sort the ARRAY. THUS it qualifies as a COMPARISON based sort. |
|