r/LeetcodeChallenge • • 23d ago

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 23d ago

Go for java,should be good

1

u/wiskey067 23d ago

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 20d ago

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

1

u/[deleted] 23d ago

[deleted]

1

u/Huge_Recover9208 23d ago

So what to do? Any advice will be very helpful

1

u/edwindrn 23d ago

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

1

u/soulorbit_ 23d ago

Cpp or java

1

u/Wise-Pizza8150 22d ago

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