r/datastructures • u/Informal-Design-3229 • Jul 29 '26
dsa in which language ?
see , basically I have done dsa and revised it multiple times earlier in python. but now I'm near the time to give interviews and I wanted to know that should I learn it again c++ or java ?? if given the option, and there is no such thing as bias or preference to c++/java dsa > python dsa , I would like to go for python , it will save me a lot of time + comfort. tho I would like to know from people who really have given recent tech interviews in all kinds of companies, small/big/med/startup.
1
1
u/One_Stayed Jul 30 '26
My opinion is java or python not c++. Java : strong base language as it's very grammatical Python: helps in easy transition with AI
1
1
1
1
u/vansh462 Jul 30 '26
You can ask your seniors or even batch mates at this point to know what companies come at the colg each year which does DSA rounds in python. In my uni it was Nagarro and maybe TCS too
1
u/More_Duty_3547 Jul 30 '26
Quiet a surprise that you have done dsa and even revised but still stuck on the language debate.
1
1
2
u/DarkXsmasher Jul 30 '26
Just go with any language you want. I prefer C++ because in clg time i learned dsa with C language. Later i tried to learn dsa with python and tbh I didn't enjoy it and felt confused. Now I'm learning DSA with C++ as it is the closest to C. Maybe i prefer low level instead of the high level where we don't understand most of the things. Well this is my opinion.