Frage im Vorstellungsgespräch bei Amazon

Create a stack using two queues.

Antwort im Vorstellungsgespräch

Anonym

15. Okt. 2015

My answer had a slight bug and did all the computation on reads, the interviewer asked me to flip it around to make reads faster and do the computation on writes. I really struggled with this and it was the closest I came to 'failing' a question during the whole interview process.