Amazon Interview Experience : SDE Intern : Set 16

Company Name: Amazon

Job Role: SDE Intern

Years of Experience Required: Fresher (0 Yrs.)

Drive: On-Campus

Preparation for Amazon

Topics: Data Structures and Algorithms

Duration: 2 months

Source of Preparation: Leetcode, GFG, Striver’s SDE sheet, Aditiya Verma Dp series.


Amazon Interview Rounds

Round 1: Online Coding Test. 2 Coding Questions were asked.

  1. Some Array question was asked easy difficulty.
  2.  Find the Maximum Depth of Binary Tree. Maximum Depth is the count of nodes of the longest path from the root node to the leaf node. (Link)

Round 2: (Technical Interview)

  1. Given the root of a binary tree, display the node values at each level. Node values for all levels should be displayed on separate lines. Let’s take a look at the below binary tree. (Level order traverlsal of binary tree)
  2. Next Greater element II

Round 3: (Technical Interview)

  1. Find the length of largest subarray with 0 sum
  2. Path sum II
  3. Some questions on Priority queue (Insertion/Heapify)

Round 4: (Technical Interview+ Managerial)

  1. What is the difference between multitasking and multiprocessing OS.
  2.  There is an integer array nums sorted in ascending order (with distinct values). Given the array nums after the possible rotation and an integer target, return the index of target if it is in numsor -1 if it is not in nums. We need to search a given element in a rotated sorted array. (Link)
  3. Why Amazon?

Verdict: Selected

Message to Aspiring Students:

The Interview was very smooth as they will help you whenever you are stuck. For practicing DSA I will suggest focusing on Strivers SDE Sheet that will be more than enough, and reading cs fundamentals.