Amazon Interview Questions



147 Amazon Interview Questions Found
Saurabh Maurya's image who cleared Amazon tech interview
Julia Cochran's image who cleared Amazon programming interview
Utkarsh Trivedi's image who cleared Amazon coding interview
Sreejan Shrivastava's image who cleared Amazon programming interview
Rajan Waliya's image who cleared Amazon tech interview

What to expect at Amazon Interview?


Amazon's Interview Process

  1. 2-4 Coding interviews which focus on basic problem solving and data structures. The less experienced you are, the more the number of coding rounds for you.
  2. 1 Design interview which involve coming up with high level design architectures for real life products as well as OOPS based design of components. This round might be scrapped for you if you are interviewing for an entry level software engineering role.
  3. 1 Hiring manager round which tests for cultural fit based on attitude and previous work experience. In depth knowledge of previous tech used is paramount here.
  4. An optional bar raiser round which is a combination of all of the above. The idea is here to judge if you are technically better than an average person in a particular Amazon team.

Where to Prepare

  1. Coding rounds: Material in the programming section of InterviewBit is pretty comprehensive. For your reference, the section below has some of the questions which are frequently asked in Amazon's Interview. Make sure to try and solve most of them.
  2. Design rounds: InterviewBit System Design prep has you covered here. Make sure to go through some frequently asked interview problems listed on the page.
  3. Cultural fit rounds: In most cases, this should not be an issue. However, go through Cultural Fit Interview Guidelines to make sure you don't make common mistakes.


Solve Interview Questions asked at Amazon



Gas Station
There are N gas stations along a circular route, where the amount of gas at station i is gas[i]. You have a car with an unlimited gas tank and it cost...
Majority Element
Given an array of size n, find the majority element. The majority element is the element that appears more than floor(n/2) times. You may assume that ...
Distribute Candy
There are N children standing in a line. Each child is assigned a rating value. You are giving candies to these children subjected to the following...
Longest Increasing Subsequence
Find the longest increasing subsequence of a given sequence / array. In other words, find a subsequence of array in which the subsequence’s elements a...
Max Product Subarray
Find the contiguous subarray within an array (containing at least one number) which has the largest product. Return an integer corresponding to the max...
Ways to Decode
A message containing letters from A-Z is being encoded to numbers using the following mapping: 'A' -> 1 'B' -> 2 ... 'Z' -> 26 Given an en...
Best Time to Buy and Sell Stocks II
Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You may comple...
Best Time to Buy and Sell Stocks III
Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You may comple...
Best Time to Buy and Sell Stocks I
Say you have an array for which the ith element is the price of a given stock on day i. If you were only permitted to complete at most one transaction...
Max Sum Path in Binary Tree
Given a binary tree, find the maximum path sum. The path may start and end at any node in the tree. Example : Given the below binary tree, 1...
Palindrome Partitioning II
Given a string s, partition s such that every substring of the partition is a palindrome. Return the minimum cuts needed for a palindrome partitioning...
Min Sum Path in Matrix
Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path. ...
Min Jumps Array
Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maxim...
Edit Distance
Given two words A and B, find the minimum number of steps required to convert A to B. (each operation is counted as 1 step.) You have the following 3 ...
Unique Binary Search Trees II
Given A, how many structurally unique BST’s (binary search trees) that store values 1...A? Example : Given A = 3, there are a total of 5 unique BST’s...
Jump Game Array
Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maxim...
Stairs
You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you cl...
Swap List Nodes in pairs
Given a linked list, swap every two adjacent nodes and return its head. For example, Given 1->2->3->4, you should return the list as 2->1-...
Rotate List
Given a list, rotate the list to the right by k places, where k is non-negative. For example: Given 1->2->3->4->5->NULL and k = 2, ret...
Reorder List
Given a singly linked list L: L0 → L1 → … → Ln-1 → Ln, reorder it to: L0 → Ln → L1 → Ln-1 → L2 → Ln-2 → … You must do this in-place wit...


See all Amazon Interview Questions