Repository of algorithms implemented in Python. These mostly include algorithms and problems covered in Tim Roughgarden's course on Algorithm Design and Analysis
- Karatsuba Multiplication
- Merge Sort
- Counting the number of inversions in an unsorted array
Solutions to the first programming assignment is in countInversions.py Solutions to the first Quiz are in QuizWeek01_Answers.pdf
- Quick Sort
- Recursively computing the number of comparisons with pivot element (a proxy to compute work done by the Quick Sort algorithm)