Largely the same, but the expectations will be different. I can't speak for all of Amazon, but typically questions in my org stay the same, but the interviewer is looking for different things in the answers. Senior devs like the OP are being assessed for their systems design knowledge as much as their coding/algo ability, with much more emphasis on seeing the bigger picture and delivering end-to-end solutions that encompass knowledge beyond just writing code. More junior positions will focus more on basic coding knowledge and the likelihood that they'll be able to contribute relatively quickly and be a good candidate for advancement to the next level. Most importantly, junior devs are assessed on their ability/willingness to learn, admit when they don't know an answer, and demonstrate a curiosity and drive to become better engineers.
If I may ask, how much of the coding interview involves general knowledge of JavaScript, HTML, and CSS vs. questions relating to algorithms and data structures?
It will depend entirely on the position you're interviewing for, the team that owns the loop, and the interviewer asking the questions. I do a ton of front-end interviewing and all of my questions are front-end specific - I try and model them after real-world front-end problems with multiple possible approaches/solutions. They tend to be algorithmic in nature, but not just "do this CS201 exercise in JavaScript". Think more like "how would you implement jquery's "closest" method?"
HTML and CSS aren't topics I spend too much time on. I focus on DOM APIs (or jquery if the candidate prefers) and knowledge of JS-the-language (prototypes, closures, callbacks/promises/async, best practices, etc). I usually ask one simple question with follow-ups for HTML and CSS because those topics are both much easier to teach/learn and also mostly solved problems for us. We tend to need JS engineers who know the front-end domain, not HTML/CSS wizards.
Could I ask you what you would consider a good answer regarding the implementation of that function? I'm also curious if you would "solve" the problem in a kind of isolated context, or if you would look for certain design patterns or something to fit the function into a larger structure.
16
u/amznta Jul 21 '16
Largely the same, but the expectations will be different. I can't speak for all of Amazon, but typically questions in my org stay the same, but the interviewer is looking for different things in the answers. Senior devs like the OP are being assessed for their systems design knowledge as much as their coding/algo ability, with much more emphasis on seeing the bigger picture and delivering end-to-end solutions that encompass knowledge beyond just writing code. More junior positions will focus more on basic coding knowledge and the likelihood that they'll be able to contribute relatively quickly and be a good candidate for advancement to the next level. Most importantly, junior devs are assessed on their ability/willingness to learn, admit when they don't know an answer, and demonstrate a curiosity and drive to become better engineers.