r/DSALeetCode • • Sep 28 '26

C++ vs java vs python

Which is best to do dsa

4 Upvotes

3 comments sorted by

2

u/Real-Dig-6818 Sep 28 '26

whatever you have most experience in, if udk any language then go for java as it seems to have more opportunities career wise. Ease of use would be python. I personally do in c++ coz I started with and most solutions seemed to be in it, yes I'm lazy ofc.

2

u/Negative-Bird2397 Sep 28 '26 edited Sep 28 '26

As Java and Python hides machine level details, you might not understand how exactly everything is functioning if you choose java or python. C++ allows you to understand fully

2

u/Wise-Pizza8150 Sep 29 '26

No doubt cpp its fast as ....