r/PlacementsPrep • u/absurdkittie • 7h ago
Python vs C++ for DSA preparation and Leetcode
Probably a shitty old question, but asking again to know if there are recent changes in the answer. I'm already solving Leetcode problems in Python (just solved 50+), and today I saw some comments regarding interviewers don't allow Python and shit. So should I really study C++, just for dsa? I'm really running short of time, and have a lot to study. Is learning C++ really needed and worth it?
2
Upvotes
1
u/Living_Training4656 7h ago
I have given 20+ OA rounds never seen anyone restrict you do so DSA in a specific language
1
u/hopeful_nihilistfr 7h ago
Some interviewers on campus might not allow it, especially if you're from some private uni and see mediocre recruiters, the likes of TCS and Infosys.
I have felt that the ones paying in the range of 6 - 8 LPA are the most problematic ones.
Good orgs however, have no issue with any language you use; off campus, it will never be a problem.
1
u/Cool_Association8127 7h ago
Java
1
u/ConcertSuccessful469 5h ago
Accenture doesn't allow cpp for their assessment. But they allow C#.What are they smoking?
1
u/thishouseisglass 5h ago
continue with python!