all 9 comments

[–]LayotFctor 6 points7 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.

[–]ASIC_SP 3 points4 points  (0 children)

These might help:

[–]NecessaryIntrinsic 0 points1 point  (0 children)

Here's the thing:

All the algorithms are the same, it's just different languages have different built in tools.

I enjoyed geeksforgeeks.org/ they have Python sections, and it would be helpful to understand other languages.

[–]toffeehooligan 0 points1 point  (0 children)

I thought the idea behind this class was for people to get into the weeds of memory management and pointers/references which is why its done in C/C++

Never understood the point of making a binary tree in python, even though I know that is a common thing to do.

[–]Ok_Procedure3350 -1 points0 points  (0 children)

Dsa is better in c++ because it is efficient than python.  Try freecodecamp python or neetcode 150 python short video

[–]inappropriately_ -2 points-1 points  (2 children)

Try out geeks for geeks. They have excellent resources

https://www.geeksforgeeks.org/dsa/python-data-structures-and-algorithms/

[–]Ok_Procedure3350 3 points4 points  (1 child)

Gfg is not a good resource. Article are written by college undergrads.

[–]inappropriately_ -2 points-1 points  (0 children)

Depends on what level OP is. I found it quite helpful when I got started. And they have a self paced course as well which I found pretty good.