jwasham / coding-interview-university

A complete computer science study plan to become a software engineer.
Creative Commons Attribution Share Alike 4.0 International
306.25k stars 76.78k forks source link

Question: Python or Java for Coding interview #403

Closed halyph closed 5 years ago

halyph commented 5 years ago

Hello John, I'm writing here since comments are closed for this page https://startupnextdoor.com/ive-been-acquired-by-amazon/.

You've spent some time (see this repo) learning C/C++/Python for Amazon's interview. But, based on your blog posts you are working with Java.

If I ask you today, would you suggest to use Java (as coding interview "tool") instead of Python? Some people say that Python is very convenient for this type of interviews as Java is too verbose. But on the other hand, your Amazon interviewer(s) might prefer Java.

Could you please share your thoughts?

jwasham commented 5 years ago

Even though I use Java on a daily basis, I would still use Python for the interview because it's faster to write and takes less space on the whiteboard. Your interviewer should be OK with you using any modern, widely used language. I would NOT recommend functional languages because a lot of people haven't used them (or used them very little) so your interviewer will probably not understand, and you'll spend a lot of time explaining.

More here: https://startupnextdoor.com/important-pick-one-language-for-the-coding-interview/

halyph commented 5 years ago

John, thanks a lot for quick feedback and happy New Year! 🤝

jwasham commented 5 years ago

You're welcome!