r/LeetcodeDesi • • Feb 10 '26

LEETCODE WITH PYTHON

am i doing anything wrong if im preparing and solving dsa questions using python?

do i need to switch to c++ or java?or am i good

0 Upvotes

11 comments sorted by

View all comments

6

u/Exotic-Inevitable-37 Feb 10 '26

Nothing wrong u just need to learn the concept, language doesn't matter (but in some cases it does) if possible, go wth java as most big companies prefer this but it's not necessary at all

4

u/TheforbiddenMaster Feb 10 '26

java is a bit syntax driven thats why i chose python but can there be any situation like the interviewer tells me to code in java what so ever? like i know object oriented stuff using python but all the patterns in dsa i learnt by coding in python

3

u/Zestyclose_Towel7270 Feb 10 '26

i used java in OA and python in interview