PDF explains the sorting and selection algorithms, including
- Insertion Sort
- Bubble Sort
- Selection Sort
- Merge Sort
- Quick Sort
- Quick Select
- Bucket Sort
- Counting Sort
- Radix Sort
We not only provide the Python implementation for each sorting algorithm but also explain how to use Python 3 comparison operators, functions such as max
, list.sort()
, sorted()
in the most comprehensive way.
Source code: Algorithms implementation
Source code: Python 3 Comparison and sorting methods
For more, check out https://github.com/liyin2015/Algorithms-and-Coding-Interviews.