Sorting Algorithms
At a glance
- Price Free to watch, no sign-up
- Runtime 48 min
- Topics Computer Science, Mathematics
- Source MIT, Introduction to CS and Programming using Python
- Lecture Lecture 24 of 25
- Language English
MIT lecturer Ana Bell covers sorting algorithms in this lecture from 6.100L, Introduction to CS and Programming Using Python. She walks through BOGO sort, bubble sort, selection sort, and merge sort, comparing how each one works step by step and analyzing their computational complexity. The lecture builds from the absurdity of BOGO sort as a baseline, through the quadratic-time behavior of bubble and selection sort, up to merge sort's divide-and-conquer approach and its better scaling on large inputs. Bell uses code examples and complexity analysis to show why some sorting methods are impractical for large datasets while others remain standard tools in programming. Part of the Fall 2022 offering of MIT's introductory Python programming course, available through MIT OpenCourseWare.