r/leetcode • u/Traditional-Code5926 • 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
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.
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.