Which sorting algorithm does Python's sorted() use?
Correct answer
D. Timsort
7 views
D. Timsort
7 views
Timsort is a hybrid of merge sort and insertion sort and is stable.
Asked in: Python Interview Advanced
https://docs.python.org/3/library/index.htmlNot sure why the answer is D? Ask here and get an explanation.