
Episode 135: 🇸🇮 Slovenia 🇸🇮 2023 Road Trip!
Algorithms + Data Structures = Programs
00:00
How to Implement a Max Scan in C++
The deduplicate operation does not assume that the input sequence is sorted. So you don't actually need to make a call to an algorithm that is doing deduplication. You can instead use the more efficient algorithm that exists in C++, which is called a unique. Can you think of another problem that we've solved it with a max scan or where we've solving it with something with a scan?
Transcript
Play full episode