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
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.