Given an array of integers find the element for which the sum of left = sum of right. example -1 100 1 98 1 should return index of 1 i.e 2
Answer: First told him about Brute Force approach and then told him if we can iterate once and get the total sum
I applied online. The process took 3 weeks. I interviewed at Amazon
Interview
Applied online in December. Received mail within 2 days. Online assessment in next 7 days. This test includes 7 questions in 20 minutes. Questions include correcting the already given code so that all the test cases work perfectly.
Phone interview call in 1 week. 45 minutes. 2 questions.
1) Find the second last node of a linked list.
2) Find Nth node from the last in a given linked list.Find it's complexity.
One question on recent project. Waiting for response.
I applied through an employee referral. The process took 2 months. I interviewed at Amazon
Interview
I applied Amazon through employee referral. The first round is an online assessment. There are two coding questions and many IQ and reading questions. The coding questions are really easy and they also provided test cases so you can run and see if you pass all the tests.
A month later I took the next round, which is a half-hour video interview. We discussed the problems in OA and I got the chance to ask him some questions about Amazon.