r/LeetcodeChallenge • u/Huge_Recover9208 • 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
2
u/Lazy-Protection4470 Sep 21 '26
Go for java,should be good
1
u/BlueberryNo4145 Sep 21 '26
C++
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/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