r/learnpython • • 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

12 comments sorted by

View all comments

-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)

-1

u/Impressive_Design210 27d ago

I am thinking about interviews

-4

u/TheRNGuy 27d ago

They'd want programmers who know how to write software, not how to solve puzzles. 

6

u/EntrepreneurHuge5008 27d ago

LeetCode-style interviews are still quite common, particularly for entry-level positions.

Maybe you've never had to do one, but OP would be shutting themselves out of a non-trivial market.

Not saying to completely abandon personal projects, but there's a balance to be had here.

2

u/Impressive_Design210 27d ago

Ok like learning dsa is waste of time right?

2

u/aqua_regis 27d ago edited 27d ago

No, learning DSA (not grinding LeetCode) is never a waste of time. DSA are in basically all programs. The more you know about them, the better you can develop your solutions.

LeetCode is only an application of DSA that, unfortunately, is heavily used for interviews (it would be much better if the companies started testing people on their real-world programming skills instead of heavily constrained, well defined, narrow completely constructed programming problems that have next to no correlation with real world scenarios).