Finding fast and putting in order · 14 lessons
2 pointers closing in
Where to insert and where a run starts
From O(n²) to O(n) with a table
Brute force or using the order
5 things you ask of it
Picking the smallest, over and over
The largest rises like a bubble
Like arranging the cards in your hand
A pivot and 2 sides
Split in half and merge in order
Take the maximum and leave it at the end
Split into buckets and sort each one
Sorting by counting
Digit by digit
Free on iOS and Android. Start from zero, no account needed.