Domanda di colloquio di Amazon

Create a stack using two queues.

Risposta di colloquio

Anonimo

15 ott 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.