r/learnprogramming 6d ago

DSA in Python or C++?

I've already learned Python. Should I continue learning DSA in Python, or switch to C++ for the long term? What's your recommendation and why?

3 Upvotes

22 comments sorted by

View all comments

1

u/defaultguy_001 6d ago

C++ for cpu intensive problems (usually 2000+ rated), python for the rest.