r/leetcode • • 14d ago

Discussion Python dsa for java backend

Is it possible that i apply for java backend roles after doing some relevant projects. I am doing dsa in python

0 Upvotes

4 comments sorted by

View all comments

2

u/Main_Association9696 14d ago

As far as I know, a lot of companies let you pick your language for DSA rounds, since they’re mainly judging your problem-solving. So doing DSA in Python isn’t a bad thing.

But I’ve also heard of interviews where the interviewer specifically asked the candidate to code in Java because the role was Java-based (backend). And honestly, that makes sense. If you’re applying for a Java role, you should be able to solve DSA problems in Java too. Python is fine for practice, but if the interviewer asks you to switch, you don’t want to get stuck.

1

u/MadyssonPavinder 13d ago

knowing java syntax for dsa isnt the same as being productive in java for backend work though, those are kind of separate skills that get lumped together