Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

Amazon Interview Experience for SDE-1 (On-Campus)

  • Difficulty Level : Medium
  • Last Updated : 14 Dec, 2021

There were a total of 4 rounds (1 Coding Test+3 Technical Interviews)

Round 1 (Coding Test): This round had 4 sections, debugging, coding, Workstyle Assessment, and aptitude. Debugging and aptitude were easy and didn’t even require any preparation.

  1. Given an expression in the form of a string “A+B=C”, where any two of A, B, and C were given, you had to find out the value of the third variable.
  2. https://www.geeksforgeeks.org/find-row-with-maximum-sum-in-a-matrix/

Round 2(Technical Interview 1):

  1. https://www.geeksforgeeks.org/rotate-ring-matrix-anticlockwise-k-elements/
  2. https://www.geeksforgeeks.org/fix-two-swapped-nodes-of-bst/

Round 3(Technical Interview 2):

  1. Given 2 numbers N and M count the number of set bits in them. He first asked me to make a function that returns the number of set bits of a number, then asked me to code the solution. He wanted the most optimized solution something like this. https://www.geeksforgeeks.org/count-total-set-bits-in-all-numbers-from-1-to-n-set-2/
  2. https://www.geeksforgeeks.org/convert-given-binary-tree-doubly-linked-list-set-3/
  3. Then he asked for a few OS and networking questions like the Difference between semaphore and mutex, the Difference between TCP and UDP, and what is Banker’s algorithm. Then he jumped to my CV and asked about the Internship I did.

Round 4(Technical and Managerial):

  1. Which sorting algorithm would be appropriate to sort a line of almirahs according to their height so that my effort is minimum. (Selection sort)
  2. https://www.geeksforgeeks.org/check-two-nodes-cousins-binary-tree/ in one single pass.
  3. Tell me about a time when you were faced with a complex problem and what solution you came up with? Then he asked if I could have done anything different and better.

In the end, there were 8 students who gave 4 rounds and 6/8 were selected including me

Note: I prepared for DSA from Striver’s SDE sheet ( https://takeuforward.org/interviews/strivers-sde-sheet-top-coding-interview-problems/ ) and from GeeksforGeeks company questions and leetcode.

All the best to everyone who is preparing for amazon.

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!