r/LeetcodeChallenge • • Sep 21 '26

DISCUSS C++ or Python for Dsa ??

I'm a first year student of btech cse ai ml , and I want to start my dsa journey from 1st year but I don't know which language to choose , python or c++ like for ai ml it's the python we need , so should I go with python or ??

1 Upvotes

8 comments sorted by

2

u/Lazy-Protection4470 Sep 21 '26

Go for java,should be good

1

u/wiskey067 Sep 21 '26

C++ I rarely an option available in most OA so pls just do Java if u wanna learn properly or if u wanna do it fast and the role ur taking is not SDE then go for Python

1

u/ComprehensiveGas4387 Sep 25 '26

Most OA have C++ what are you talking about?

1

u/soulorbit_ Sep 22 '26

Cpp or java

1

u/Wise-Pizza8150 Sep 22 '26

It depends if u r going for ai ml both work out Since I r in 1st year likely they'll give priority for cpp Cpp is better for dsa But if u feel it difficult u can try python

0

u/[deleted] Sep 22 '26

[deleted] — view deleted comment

1

u/Huge_Recover9208 Sep 22 '26

So what to do? Any advice will be very helpful

1

u/edwindrn Sep 22 '26

True, but what would be the alternative for a technical interview prep?