Algorithms + Data Structures = Programs cover image

Episode 135: 🇸🇮 Slovenia 🇸🇮 2023 Road Trip!

Algorithms + Data Structures = Programs

00:00

How to Solve a Speeding Ticket Problem in C++

In the Q language, this is known as distinct. In Rust, it's known as deduplicate. We don't actually have this function in C++, uh, at least in the standard algorithms. So you get rid of one of the twos, one of the threes, and you're left with two, three, five. And then you just, uh, do a count of that. Yeah. Um, we are definitely going to get some speeding tickets. Uh, no, I don't think so. Look, it's got a little happy thing. Oh, no, it'sgot a sad face. There was a little like, check your speed sign

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app