Hi guys, I did this interview last month and I think Amazon kinda changed how they are conducting the interviews, or is it just me?
The position was Software Developer Engineer.
Last year the 1st Phone screen was always 2 coding exercises and a couple of questions, but this year I did 2 Phone screens and the coding part was only in the online assessment. I was expecting another coding exercise in the Phone screen but I got drowned in 1:30 hour with behavioral and technical questions and one of the questions got me thinking since the interviewer did not give me the correct answer.
Question was:
I have 2 lists:
1st list have ID and FirstName
2nd list have ID and LastName
How should I join these lists, he asked me to tell how I would code, not write anything, my first thought was using a hashtable, puting all the first list on it, and then for the second list I would just get the ID and retrieve the LastName, if it was available.
He accepted the answer, but gave me a follow up:
What if I didn't have enough space to store the first list?
How would you guys do it?
And is it just me, or they are not asking us to code in the Phone screen anymore?
Thanks a lot!