Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update quick_sort.py (TheAlgorithms#928)
Use the last element as the first pivot, for it's easy to pop, this saves one element space. Iterating with the original list saves half the space, instead of generate a new shallow copy list by slice method.
- Loading branch information