Skip to main content

Amazon Interview Questions

Review this list of 421 Amazon interview questions and answers verified by hiring managers and candidates.
  • Amazon logoAsked at Amazon 
    4 answers
    +1

    "Provided an example from my work history where I asked to move the Go-live date to prevent launch date failure."

    Namu - "Provided an example from my work history where I asked to move the Go-live date to prevent launch date failure."See full answer

    Product Manager
    Behavioral
    +2 more
  • Amazon logoAsked at Amazon 
    3 answers

    "I followed STAR format"

    Shashikant A. - "I followed STAR format"See full answer

    Product Manager
    Behavioral
    +3 more
  • "Explained the charts with using Scatter Plot with Size and Color Encoding X-axis: Ride duration (in minutes). Y-axis: Total fare (in dollars). Point size: Encodes the star rating (e.g., larger points for higher ratings). Point color: Indicates whether the rating is favorable (green) or unfavorable (red). Heatmap for Correlation Analysis Why: Heatmaps are ideal for quickly identifying patterns and correlations between variables. How: Create a heatmap matrix where rows represent ride durat"

    Saisandeep M. - "Explained the charts with using Scatter Plot with Size and Color Encoding X-axis: Ride duration (in minutes). Y-axis: Total fare (in dollars). Point size: Encodes the star rating (e.g., larger points for higher ratings). Point color: Indicates whether the rating is favorable (green) or unfavorable (red). Heatmap for Correlation Analysis Why: Heatmaps are ideal for quickly identifying patterns and correlations between variables. How: Create a heatmap matrix where rows represent ride durat"See full answer

    Business Analyst
    Analytical
  • Amazon logoAsked at Amazon 
    5 answers
    Video answer for 'What's the best and worst performing team you've been on?'
    +2

    "I've recently worked closely with a product that had both the best and worst performing teams. The situation is that one team is struggling to deliver within a reasonable timeframe, a few stronger members of the team are carrying the weaker. Work is taking a long time. They aren't listening to each other. They aren't helping each other to get work over the line. They are getting stuck down rabbit holes. They aren't continually improving their processes. They are getting frustrated and at risk o"

    James W. - "I've recently worked closely with a product that had both the best and worst performing teams. The situation is that one team is struggling to deliver within a reasonable timeframe, a few stronger members of the team are carrying the weaker. Work is taking a long time. They aren't listening to each other. They aren't helping each other to get work over the line. They are getting stuck down rabbit holes. They aren't continually improving their processes. They are getting frustrated and at risk o"See full answer

    Product Manager
    Behavioral
    +1 more
  • Amazon logoAsked at Amazon 
    66 answers
    Video answer for 'Move all zeros to the end of an array.'
    +61

    "Initialize left pointer: Set a left pointer left to 0. Iterate through the array: Iterate through the array from left to right. If the current element is not 0, swap it with the element at the left pointer and increment left. Time complexity: O(n). The loop iterates through the entire array once, making it linear time. Space complexity: O(1). The algorithm operates in-place, modifying the input array directly without using additional data structures. "

    Avon T. - "Initialize left pointer: Set a left pointer left to 0. Iterate through the array: Iterate through the array from left to right. If the current element is not 0, swap it with the element at the left pointer and increment left. Time complexity: O(n). The loop iterates through the entire array once, making it linear time. Space complexity: O(1). The algorithm operates in-place, modifying the input array directly without using additional data structures. "See full answer

    Machine Learning Engineer
    Data Structures & Algorithms
    +4 more
  • 🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.

  • Amazon logoAsked at Amazon 
    1 answer

    "One time at Lifetime Fitness 2019, One student was throwing a lot of towels in the counter which made things very disorganized, then I made a compromise with my coworker to put 2 towels at a time and then it worked well because it made the workspace very organized."

    Amparo L. - "One time at Lifetime Fitness 2019, One student was throwing a lot of towels in the counter which made things very disorganized, then I made a compromise with my coworker to put 2 towels at a time and then it worked well because it made the workspace very organized."See full answer

    Software Engineer
    Behavioral
    +2 more
  • Amazon logoAsked at Amazon 
    1 answer

    "performance issues and sudden spikes on input requests by scaling techniques and optimization."

    Srini K. - "performance issues and sudden spikes on input requests by scaling techniques and optimization."See full answer

    Software Engineer
    Behavioral
    +5 more
  • Amazon logoAsked at Amazon 
    3 answers

    "In a recent implementation of a large core banking project where we were breaking away from monolithic architecture to microservice based one we faced a situation where customer wanted to have a single repository of user and role management. Since Micro service based architecture talks about individual entities for multiple product suite it was mandatory to maintain individual user base. Based on the customer feedback, we had to come up with an unique design of single user base and replicating"

    Snehangsu B. - "In a recent implementation of a large core banking project where we were breaking away from monolithic architecture to microservice based one we faced a situation where customer wanted to have a single repository of user and role management. Since Micro service based architecture talks about individual entities for multiple product suite it was mandatory to maintain individual user base. Based on the customer feedback, we had to come up with an unique design of single user base and replicating"See full answer

    Product Manager
    Behavioral
    +1 more
  • Amazon logoAsked at Amazon 
    3 answers

    "During my internship at Lumora Analytics, I was tasked with creating a dashboard to track supplier performance using real-time data. Midway through the project, I hit a roadblock when one of the key data sources was delayed due to access issues with the external vendor’s system. Despite the delay, I had to ensure that the dashboard development stayed on schedule so it could be presented to leadership by the end of the week. Instead of waiting passively, I immediately informed my supervisor and o"

    Dhruv M. - "During my internship at Lumora Analytics, I was tasked with creating a dashboard to track supplier performance using real-time data. Midway through the project, I hit a roadblock when one of the key data sources was delayed due to access issues with the external vendor’s system. Despite the delay, I had to ensure that the dashboard development stayed on schedule so it could be presented to leadership by the end of the week. Instead of waiting passively, I immediately informed my supervisor and o"See full answer

    Product Manager
    Behavioral
  • Amazon logoAsked at Amazon 
    1 answer

    "When I did't reach my expected deadline and if my work is unfinished after the deadline is arrived, I started rectifying the areas where I leg behind why i did't meet the expected deadline and i complete the work as soon as possible by working double and hard . And next time i will make sure that the problems which i faced earlier should not arrived again , and I mus match the deadline."

    Deepak K. - "When I did't reach my expected deadline and if my work is unfinished after the deadline is arrived, I started rectifying the areas where I leg behind why i did't meet the expected deadline and i complete the work as soon as possible by working double and hard . And next time i will make sure that the problems which i faced earlier should not arrived again , and I mus match the deadline."See full answer

    Software Engineer
    Behavioral
    +1 more
  • Amazon logoAsked at Amazon 
    7 answers
    Video answer for 'How do you consider your impact on the world as an engineering manager?'
    +4

    "I really appreciate how he clearly explains every term he uses!"

    Ilnur I. - "I really appreciate how he clearly explains every term he uses!"See full answer

    Engineering Manager
    Behavioral
  • Amazon logoAsked at Amazon 
    9 answers
    +6

    "DFS with check of an already seen node in the graph would work from collections import deque, defaultdict from typing import List def iscourseloopdfs(idcourse: int, graph: defaultdict[list]) -> bool: stack = deque([(id_course)]) seen_courses = set() while stack: print(stack) curr_course = stack.pop() if currcourse in seencourses: return True seencourses.add(currcourse) for dependency in graph[curr_course]: "

    Gabriele G. - "DFS with check of an already seen node in the graph would work from collections import deque, defaultdict from typing import List def iscourseloopdfs(idcourse: int, graph: defaultdict[list]) -> bool: stack = deque([(id_course)]) seen_courses = set() while stack: print(stack) curr_course = stack.pop() if currcourse in seencourses: return True seencourses.add(currcourse) for dependency in graph[curr_course]: "See full answer

    Software Engineer
    Data Structures & Algorithms
    +4 more
  • Amazon logoAsked at Amazon 
    6 answers
    +3

    " The Situation A few months ago, our trading platform started experiencing significant latency issues during peak trading hours. This latency was affecting our ability to process real-time market data and execute trades efficiently, potentially leading to substantial financial losses and missed opportunities. Identifying the Problem The first step was to identify the root cause of the latency. I organized a team meeting with our data engineers, DevOps, and network specialists to gather"

    Scott S. - " The Situation A few months ago, our trading platform started experiencing significant latency issues during peak trading hours. This latency was affecting our ability to process real-time market data and execute trades efficiently, potentially leading to substantial financial losses and missed opportunities. Identifying the Problem The first step was to identify the root cause of the latency. I organized a team meeting with our data engineers, DevOps, and network specialists to gather"See full answer

    Engineering Manager
    Behavioral
    +3 more
  • Amazon logoAsked at Amazon 
    4 answers
    +1

    "First i will collect relevant data,Actual problem,Necessary input and raw material then i will start design drawing,modeling,Callibration and finally handing over my work."

    Mohammed H. - "First i will collect relevant data,Actual problem,Necessary input and raw material then i will start design drawing,modeling,Callibration and finally handing over my work."See full answer

    Product Manager
    Product Design
  • Amazon logoAsked at Amazon 
    33 answers
    +25

    "import java.util.*; public class MostCommonWords { public static String mostCommonWords(String text) { String removeNonAlphabets = "[.,;!\"'\\(\\)]"; String sanitizedText = text.replaceAll(removeNonAlphabets," ").toLowerCase(); String[] wordsArray = sanitizedText.split("\\s+"); Map hm = new HashMap(); for (String word: wordsArray){ if (!word.isEmpty()){ hm.put(word, hm.getOrDefault(word,0)+1); } } List> entries = new ArrayList(hm.entrySet()); en"

    Sailaja R. - "import java.util.*; public class MostCommonWords { public static String mostCommonWords(String text) { String removeNonAlphabets = "[.,;!\"'\\(\\)]"; String sanitizedText = text.replaceAll(removeNonAlphabets," ").toLowerCase(); String[] wordsArray = sanitizedText.split("\\s+"); Map hm = new HashMap(); for (String word: wordsArray){ if (!word.isEmpty()){ hm.put(word, hm.getOrDefault(word,0)+1); } } List> entries = new ArrayList(hm.entrySet()); en"See full answer

    Security Engineer
    Data Structures & Algorithms
    +1 more
  • Amazon logoAsked at Amazon 
    7 answers
    +3

    "General Approach (using Max-Heap) Use a max-heap (priority queue) of size k. For each point: Compute the distance to P. Push it into the heap. If heap size > k, remove the farthest point. The heap will contain the k closest points to P. import java.util.*; public class KClosestPoints { static class Point { int x, y; public Point(int x, int y) { this.x = x; this.y = y; } // Euclidean distance squared (no need to take square root) p"

    Khushbu R. - "General Approach (using Max-Heap) Use a max-heap (priority queue) of size k. For each point: Compute the distance to P. Push it into the heap. If heap size > k, remove the farthest point. The heap will contain the k closest points to P. import java.util.*; public class KClosestPoints { static class Point { int x, y; public Point(int x, int y) { this.x = x; this.y = y; } // Euclidean distance squared (no need to take square root) p"See full answer

    Software Engineer
    Data Structures & Algorithms
    +2 more
  • Amazon logoAsked at Amazon 
    2 answers
    Video answer for 'Build an image carousel that displays a sequence of images (using React.js or vanilla JS).'

    "Started by asking clarification questions regarding design constraints and desired features. Break down the into re-usable components - HeroImg and Carousel (with 3 images rendered) Code the components and managed the state for both in the parent component."

    Akshay J. - "Started by asking clarification questions regarding design constraints and desired features. Break down the into re-usable components - HeroImg and Carousel (with 3 images rendered) Code the components and managed the state for both in the parent component."See full answer

    Frontend Engineer
    Coding
  • Amazon logoAsked at Amazon 
    1 answer

    "Starting with Clarifications Before jumping in, a few things I'd want to nail down: What are we actually optimizing for here — is it Retention, Engagement, or something like Average Order Value? Are we talking about the app or the website? Any specific geography in mind? For this answer, I'm going to assume we're focused on improving Retention and Engagement on the mobile app in India. That's where I think the most interesting problem space lives. The User Journey I'm Working Wi"

    Mrigang S. - "Starting with Clarifications Before jumping in, a few things I'd want to nail down: What are we actually optimizing for here — is it Retention, Engagement, or something like Average Order Value? Are we talking about the app or the website? Any specific geography in mind? For this answer, I'm going to assume we're focused on improving Retention and Engagement on the mobile app in India. That's where I think the most interesting problem space lives. The User Journey I'm Working Wi"See full answer

    Product Manager
    Product Design
    +1 more
  • Amazon logoAsked at Amazon 
    2 answers

    "demonstrate your ability to recognize and nurture talent, provide growth opportunities, and create an environment that supports and challenges high-performing individuals. Use a real-life example to illustrate your approach and showcase your leadership skills. Managing high performers is an exciting and rewarding aspect of being an engineering manager. These individuals are often the driving force behind innovation, productivity, and success within a team. As a manager, it's crucial to recogni"

    Sam T. - "demonstrate your ability to recognize and nurture talent, provide growth opportunities, and create an environment that supports and challenges high-performing individuals. Use a real-life example to illustrate your approach and showcase your leadership skills. Managing high performers is an exciting and rewarding aspect of being an engineering manager. These individuals are often the driving force behind innovation, productivity, and success within a team. As a manager, it's crucial to recogni"See full answer

    Engineering Manager
    Behavioral
  • Amazon logoAsked at Amazon 
    11 answers
    Video answer for 'Design Uber Eats.'
    +8

    "basic drew the diagram"

    Aswath B. - "basic drew the diagram"See full answer

    Software Engineer
    System Design
    +2 more
Showing 101-120 of 421