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
It was a 2-3 round process, depending on how your interview went, with increasingly hard DSA questions followed by some HR and behavioural questions. First round was mostly easy and medium leetcode, followed by medium and hard questions in the second round and above on more complex topics.
I applied online. I interviewed at Amazon (Bengaluru)
Interview
The interview process consisted of an online assessment followed by two technical interview rounds and one behavioral round. The technical rounds focused on Data Structures, Algorithms, Java, and problem-solving skills. The behavioral round covered Amazon Leadership Principles and past project experiences. The interviewers were professional and the process was well structured.
Interview questions [1]
Question 1
Q: Find the first non-repeating character in a string.
I applied online. I interviewed at Amazon (Tel Aviv-Yafo)
Interview
Amazon's home assignment test involves receiving a coding or case study assignment, completing it independently within a specified deadline (usually a few days), and submitting it for team review. I got an answer after 2 days