I've been Java developer for 10 years but then I learned Python for interviews and never went back to use Java on whiteboard. Python FTW
Did you interview at apple with python?
I don’t find it burdensome at all.
I agree. I just accepted the fact and try to code/write as fast as possible. Still, there were numerous times when I felt I should've learnt Python for interviews.
If it’s Apple some groups will require c/c++. They are testing knowledge of the underlying system not just getting the algorithm right. So check with your recruiter
Sorry to be that guy but technically, it's better to use Map<String, Integer> = new HashMap<>();
👍
Why
I write fast
Kotlin is amazing for interviews. Jvm but way less verbose
var map = new HashMap<String, Integer>();
You won’t catch me whiteboarding in anything other than python unless it’s required for the job role. Maybe I would make an exception for OOP design (id use Java for that maybe)
I interview in JS because Java is so fucking clumsy.
JS calling Java clumsy, joke of the day
Curious how you deal with not having built in data structures such as priority queues and linked lists