Algorithms + Data Structures = Programs cover image

Episode 131: One Algorithm To Rule Them All!

Algorithms + Data Structures = Programs

00:00

How to Define a Linear Traversal

You can have a two dimensional data structure like a, like a map. You can still define a linear iteration. A flattened iteration. Something that will start at the beginning and when it comes to the end, it will stop. It can traverse, you know, like you can have a preorder post order in order traversal of a tree. Right. That's that's a linear traversal in the sense that visits every element. Well, it depends on what you define as the element. Now, instead of feeding it in a sequence of every element in the data structure, you can feed it in asequence of just the elements that you selected or things like that. Sure. Yeah

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