Amazon Interview Experience: SDE : Set 15

Company Name: Amazon

Job Role: SDE

Years of Experience Required: Fresher (0 Yrs.)

Drive: On-Campus

Preparation for Amazon

Topics: Data Structures and Algorithms

Duration: 3-4 months

Source of Preparation: Leetcode, GFG, Striver’s SDE sheet.

[BONUS]:

Amazon Interview Rounds

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

  1. You are given an array of prices where prices[i] is the price of a given stock on an ith day. You want to maximize your profit by choosing a single day to buy one stock and choosing a different day in the future to sell that stock. Return the maximum profit you can achieve from this transaction. If you cannot achieve any profit, return 0.(Stock buy and sell)
  2. Determine if the sum of two integers is equal to the given value. (2-sum problem)

Round 2: (Technical Interview)

  1. Find Longest Common Prefix
  2.  Given a string s, reverse the words of the string.

Round 3: (Technical Interview)

  1. What is difference between process and thread.
  2. What is a deadlock in OS
  3. You are given a string. Your task is to find the longest palindromic substring.

Round 4: (Technical Interview + Managerial round)

  1. Why should we hire you.
  2. What are your strength and weekness.
  3. Given a linked list, and a number N. Find the Nth node from the end of this linkedlist, and delete it. Return the head of the new modified linked list.

Verdict: Selected

Message to Aspiring Students:

They will help you are struck just think loud. Practice well and you will ace the interview.