r/AskComputerScience • • 1d ago

Python

Can we learn dsa in python?

0 Upvotes

4 comments sorted by

View all comments

2

u/feierlk 1d ago

Yeah. Depends on if you want to learn about e.g. array sizing as well, in which case you should probably use something else. Java is quite nice for this imo, as the garbage collector is nice (so no manual clean up). Use C if you want to get relatively close to the hardware (as close as most people ever need to go, to be honest). C alone is also very sparse, e.g. very few predefined functions, which might be nice for a beginner wanting to learn this stuff bottom up.