The process took 1 day. I interviewed at Amazon (Seattle, WA) in Feb 2012
Interview
Phone interview:
1. Write a function that determines if a given string is a palindrom
2. Asked about virtual functions, in detail. Assume there exist a c_bird class, penguen inherits from it,
flapWing method exist in both classes, if defined virtual or not, whichever one is called when.
3. Detect loop in a linked list. When I gave a solution with two pointers, he followed up saying if you are not allowed to use two pointers, but have access to number of elements in the linked list, how do you do.
4. Implement priority queue with enqueue and dequeue methods, make it as flexible as possible.
Interview questions [1]
Question 1
Write a function that determines if a given string is a palindrom
Interviewed for silicon team. Have only been asked about the domain specific knowledge in 1st round and system design in 2nd round and C coding in 3rd round.
The interviews were 50 mins each.
First round with hr screening - 2 leetcode questions then hr manager screening then the loop which consists of 4 interviews each an hour long. The 4 interview questions they asked where three medium leetcode questions. And one system design interview question about how to shadow deploy a test software to millions of users.
Recruiter reaches out after applying through Amazon careers, no referral. Had an initial OA, then after a month had four rounds in two days - three coding one system design. Each round had 30 min behavioral and 30 min coding.
Interview questions [1]
Question 1
Questions were mainly hashmap, sliding window and interval related.