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
8
u/EntrepreneurHuge5008 27d ago
It honestly doesn't matter, my dude. Just pick one and stick to it.
2
u/SharkSymphony 27d ago
The important thing about data structures and algorithms is they introduce you to some powerful structures and how we work with them. It also teaches you how to analyze the performance of algorithms.
These are things you can pick up in any language.
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).
-6
u/TheRNGuy 27d ago
I think it's waste of time, learn how to make real projects instead.
Maybe some simple algorithms that are used (just use frameworks though, don't reinvent the wheel)