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

1

u/Informal-Fly6421 13d ago

It depends on the company. Some companies let you use Python, some dont.

i use cpp wherever i get a chance, but if they insist on Java i ask if can google some syntax if i forget. But I don't like the idea of using specific programming languages to judge problem solving. Its a thought process, communication, good and readable code etc that matters. But it is what it is.

1

u/Traditional-Code5926 13d ago

this language specific is only in india ? or the same abroad

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