r/learnpython • • Oct 21 '26

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

Show parent comment

-4

u/TheRNGuy Oct 21 '26

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

6

u/EntrepreneurHuge5008 Oct 21 '26

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 Oct 21 '26

Ok like learning dsa is waste of time right?

2

u/aqua_regis Oct 21 '26 edited Oct 21 '26

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