T Thê Hy New member Sep 21, 2021 #1 Which of the following sorting algorithm is not in-place? A. insertion sort B. tim sort C. quick sort D. intro sort
Which of the following sorting algorithm is not in-place? A. insertion sort B. tim sort C. quick sort D. intro sort
P Phạm Quyết New member Sep 21, 2021 #2 Answer: b Explanation: Tim sort is not an in-place sorting algorithm as it requires auxiliary space. It is because it requires to merge sorted runs which requires a third array of the size equal to the sum of the two runs. Upvote 0 Downvote
Answer: b Explanation: Tim sort is not an in-place sorting algorithm as it requires auxiliary space. It is because it requires to merge sorted runs which requires a third array of the size equal to the sum of the two runs.