The process took 3 weeks. I interviewed at Amazon in Feb 2011
Interview
2 phone Interviews and 1 face to face interview. Interview questions.
What is recall is this
Quickest way to find missing number and missing slot in array of 100 elements
Iterate through the array and compute the sum of all numbers. Now, sum of natural numbers from 1 to N, can be expressed as Nx(N+1)/2. N=100.
Subtract the sum of the array from Nx(N+1)/2, where N=100.
That is the missing number. The empty slot can be detected during the iteration in which the sum is computed.
// will be the sum of the numbers in the array.
int sum = 0;
int idx = -1;
for (int i = 0; i < arr.length; i++) {
if (arr[i] == 0) {
idx = i;
} else {
sum += arr[i];
}
}
// the total sum of numbers between 1 and arr.length.
int total = (arr.length + 1) * arr.length / 2;
System.out.println("missing number is: " + (total - sum) + " at index " + idx);
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
Straightforward interview process with clear communication. The interviewers asked about my background, relevant experience, technical skills, and how I would handle common workplace situations. Overall, it felt professional and organized.
Interview questions [1]
Question 1
They asked me to walk through my previous experience and explain how it related to the responsibilities of the role.