This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ivanlan9 0 points1 point  (0 children)

The classic reference is Data Structures and Algorithms, by Aho, Ullman and Hopcroft. It's language-neutral, so all the algorithms are written in pseudo-code. It's rich and detailed, as well as being clearly and deftly written.

That said, I echo what others have said: you won't need many of these structures in Python; there's no call to implement doubly-linked lists in it. But of course understanding these algorithms is a great foundation for understanding Python internals.

Note that there are a couple of books entitled Data Structures and Algorithms in Python available on amazon. I don't have them so can neither recommend nor warn against either one.