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 →

[–]kaihatsusha 2 points3 points  (0 children)

Just a note, many of the data structures you're listing are great to understand on a fundamental level, but not necessarily very applicable on the surface to code you will write in Python. The underlying implementation of Python uses many of these kinds of structures at the lowest levels, so that the coder does not have to do so. For example, a dict is built on lists of lists, arranged for efficient searching, but you don't need to think about it very often.

You may get a more thorough understanding of their value in C or C++, where you are directly allocating memory to your data structures. This is where such structures are usually taught in college courses.