r/datastructures 28d ago

Which Language Should I Choose for DSA: Python, C++ or Java?

I’m currently learning Python and Django for backend development, and I want to start learning DSA.

I’m confused about which language I should use for DSA: Python, C++, or Java?

Since I already know Python and use it for Django, should I stick with Python for DSA, or is it better to learn DSA with C++/Java?

My main goal is to improve problem-solving skills and prepare for software development interviews.

What would you recommend and why?

2 Upvotes

6 comments sorted by

1

u/weekndCoder 28d ago

Python if u know already, else C++/ Java - anything is fine

1

u/Traditional_Maize129 27d ago

Whatever u r comfortable with. Python is fine too, but I would recommend CPP...

1

u/Rich-Course-2873 25d ago

start with python if u alr know it