During my college I used java for dsa and in the initial year and half I worked with java (stopped leetcode after I got a job, which is almost 3 years, bad decision). Later I had to work on python for another year and I almost forgot the syntax and stuff on java. Stuff happened and some java guys left and they had me to work on the java side again. So after a few months, here I am, wanting to pick up leetcode and grind for better companies.
I am writing this now cuz i realised that I'm out of touch in case of java cuz recently I have only fixed a couple of bugs nothing more and since it's been a while I haven't used python as well.
Note: I was using python for backend, non ml work and I have no knowledge on the ML side so I would stay away from it.
So should I
- brush up my java and work on dsa using java
- brush up java but use python for dsa
- Forget about java, focus on python (but is non ML, only backend Python used these days?)
Please help, TIA