SIGN IN SIGN UP
TheAlgorithms / Python UNCLAIMED

All Algorithms implemented in Python

0 0 1 Python

Update tim_sort.py (#972)

* Update tim_sort.py


Update tim_sort.py

The previous algorithm was skipping numbers, according to issue #959, and my own tests.
The version I am applying uses a while loop, which works correctly and is easier to compute, as there is no break statement.

* Update tim_sort.py
F
FrogBattle committed
e58a5e68424df74a4c7b30df04162c775044405c
Parent: 861a8c3
Committed by Christian Clauss <[email protected]> on 7/30/2019, 4:06:48 PM