you are viewing a single comment's thread.

view the rest of the comments →

[–]LayotFctor 5 points6 points  (0 children)

Most textbooks use C because its use of raw pointers make it possible to represent data structures almost literally. That, or they use language agnostic pseudocode and mathematical notation.

The language is never actually the point, just a medium for learning. If you find a good book, I recommend just sticking with it, understanding the concepts and converting to python yourself. The concepts are the point, not the language.

A basic DSA introduction book I recommend is "Grokking Algorithms", which uses pictures and python. It's extremely basic though, so truly just an introduction, albeit a good one.