Open In App

Amazon Interview Experience for 2 months SDE (On-Campus) 2022

Last Updated : 03 Jan, 2024
Improve
Improve
Like Article
Like
Save
Share
Report

Round 1: Online Assessment

In this round, there were two coding questions. The first question was DP problem which was easy to identify, the second question was based on DP as well, and it was related to strings in a grid.

I was able to solve one question completely, and for the second question, one test case was failing. After approximately waiting for 20 days the results of the online assessment came and I was shortlisted.

Round 2: Interview

My interview lasted for more than one hour. There were two interviewers, one was asking the questions and the second was cross-questioning.

At first, they both introduced themselves and later they asked for my introduction. Both the interviewers appreciated me for the way I introduced myself.

After the introduction, I was given a coding problem:

  • You are given an input array that consists of only 0’s and 1’s. Assume that 0 and 1 represent cars. Also, a car with a value of 0 will move only from left to right and a car with a value of 1 will move from right to left. Now, I have to find out how many car crossings occur. (car crossing will occur when a car with value 1 crosses a car with value 0).

I answered this question first with a time complexity answered this question first with a time complexity of O(n^2). He later asked me to optimize the code. I used a suffix array to reduce my time complexity from O(n^2) to O(n).

He asked me to dry run the code and explain my approach with the given example in detail, after he was satisfied with my approach he asked me to code the same in the editor provided.

After this, he gave me another question:

, this question I have not done before, but it was easy to figure out that it was a modification of NEXT GREATER ELEMENT.

Firstly I explained to him my brute force solution, and he asked me to optimize the code, I then told him the O(n) approach using stack, and he was continuously asked questions about every line I was writing. He asked me to explain the approach with the given example. Once he was satisfied with the approach completely, he asked me to code it.

After finishing both questions, he asked me if I had any questions for them. I asked a couple of questions, and they both answered my questions in detail. And my interview ended after this.

FINAL VERDICT: SELECTED

Hope this helps!


Previous Article
Next Article

Similar Reads

Amazon Interview Experience for SDE-1 | 6-Months Internship (On-Campus)
Online Test: It consisted of 4 sections: Debugging Question (Level was quite easy) Coding Section Create Music Recommendation System for Amazon Prime(Almost Similar to the below link). https://leetcode.com/discuss/interview-question/861432/ Find Maximum Average in n-ary Tree. https://leetcode.com/discuss/interview-question/349617 Work-Life assessme
2 min read
Amazon Interview Experience | 6 Months Intern for SDE-1 (On-Campus )
Round 1(online) : Consisted of 5 sections: 1) 10 debugging questions 2) 2 coding ques :- i) https://www.geeksforgeeks.org/search-in-row-wise-and-column-wise-sorted-matrix/ ii) https://www.geeksforgeeks.org/check-if-a-binary-tree-is-subtree-of-another-binary-tree/ 3) Personality questions 4) Logical Reasoning questions Round 2(Technical 1) - remotel
3 min read
Amazon Interview Experience for SDE-1 | 6 months Internship (On-Campus)
Online Round: Around 250 candidates appeared for this round The online round comprised of 4 sections: Code Debugging Round (20 minutes - 7 Questions)Coding Section (70 minutes - 2 Questions)Work Style Assessment (25 minutes)Aptitude and Logical Reasoning (35 minutes - 24 MCQs) Coding Questions: Search in a row wise and column wise sorted matrixClon
5 min read
Amazon Interview Experience | 6-Months Internship for SDE-1 (On-Campus)
1st Round Details (Coding test): Coding round on their own platform. It consisted of 4 sections. 7 debugging questions (C++/Java).2 coding questions. Search for a given number in a row-wise and column-wise sorted matrix.Check if a given tree is a subtree of another binary tree. Psychometric test based on Leadership principles.Aptitude and Logical r
2 min read
Amazon Interview Experience for SDE | 6-Months Internship (On-Campus)
Amazon visited our university (Thapar Institute) for hiring interns (6 Months internship) in the month of September 2020. The entire process was virtual due to the COVID pandemic. There was no CGPA cut. Branches allowed were - CS, ENC, ECE, EIC, and EE. Around 600 students gave the test. 1st Round (Online Test): The test consists of four sections.
4 min read
Amazon Interview Experience | 6-Months Intern for SDE-1 (On-Campus)
Round 1: Online Test, it was the first round with 4 sections. Code Debugging test 2 coding questions(70 min) Given an array A[] and a number x, check for pair in A[] with sum as x Clone a linked list with next and random pointer Personality Questions Logical Reasoning Something which I observed and pointed out in round one was, the solution must be
3 min read
Amazon Interview Experience for SDE-1 | 6-Months Internship (On-Campus)
Round 1 (Online Assessment): This was conducted on AMCAT. It had 4 sections (total 2.5 hrs) Code debugging section - 7 questions, C/C++/Java (20 minutes)Coding section - 2 questions (70 minutes)Workstyle assessment (20 minutes)Reasoning ability - 24 questions (35 minutes) - we could not skip and return to a question 38 students were selected for on
2 min read
Amazon Interview Experience for SDE | 2-Months Internship(On-Campus)
Amazon visited our campus (NIT Jamshedpur) on 3rd October. It consisted of 2 Rounds ( 1 Online Assessment and 1 Technical Interview) Round 1: Round 1 was an online assessment that consisted of four parts: Code Debugging: 7 questions to be debugged in 20 minutes.(Difficulty - Easy) Coding Test: 2 coding questions to be solved in 70 minutes. Longest
3 min read
Amazon Interview Experience for SDE-1 | 6-Months Intern (On-Campus)
Round 1: An online assessment that consisted of four parts: Code Debugging: 7 questions to be debugged in 20 minutes. (easy-medium)Coding Test: 2 coding questions to be solved in 70 minutes. (medium)Workstyles assessment: 20minutesReasoning ability: 35 minutes (easy-medium) 38 members were shortlisted for the interviews. Round 2: It was a technical
2 min read
Amazon Interview Experience for SDE-1 | 6 Months Experienced (Off-Campus)
I appeared for Amazon's recruitment process in December 2020. I got a call from a recruiter at Amazon for the SDE-1 role. There was a total of 5 rounds (1 online coding test + 4 interviews). Round 1(Online coding test): The test contains two coding questions which you have to solve within 2 hours. You also have to submit the approach used for solvi
4 min read
Practice Tags :