Sorting Algorithms/Timsort: Difference between revisions

From Rosetta Code
(Timsort is a stable sorting algorithm, it is a hybrid between Insertion sort and Merge sort.)
 
m (GreySunshine moved page Timsort to Sorting Algorithms/Timsort: For this page to showup under Sorting Algorithms)
(No difference)

Revision as of 05:09, 26 June 2016

Timsort is a stable sorting algorithm. It is a hybrid between Insertion sort and Merge sort so, it brings in the best of two worlds.

Time Complexity: O(nlogn) Space Complexity: O(n)