
Data Structures and Algorithms
Ladybug Podcast
00:00
The Importance of Understanding Data Structures
This big O cheat sheet that I'm linking in the show notes has common data structure operations. And it tells you how much time or what the big O runtime for accessing searching and searching deletion, those kinds of things are in the average and in the worst cases. So we said accessing is approximately like O of one for JavaScript or in general now. Searching would be O of N because think about it. If you're searching for a value and it's not in the array, that means you've searched every single element or O of N. That's the worst case scenario. It's not in there. To insert, I don't, well, insertion we said was O of N
Transcript
Play full episode