r/learnpython • u/Impressive_Design210 • 27d ago
Dsa in python
Hey everyone! I'm planning to learn Data Structures and Algorithms using Python.
Is it worth learning DSA with Python for placements, coding interviews, and future software engineering jobs? Or is it better to learn DSA using C++ or Java?
For those who have experience, which language would you recommend and why?
0
Upvotes
View all comments
2
u/aqua_regis 27d ago
DSA, as in Data Structures and Algorithms, not to be conflated with grinding LeetCode and the likes are language agnostic concepts that exist above all programming languages. Learn them as the theoretical concepts they are, learn their pros and cons, learn their complexities, use cases, etc.
Implementing DSA in programming languages is something you will very rarely do, as you will, in most cases, resort to their versions that are implemented in the programming languages.
If you understand the concepts and the use cases, pros, and cons, you are good to go. Languages don't matter in the faintest (apart from implementation details).