Amazon Interview Questions

Review this list of 410 Amazon interview questions and answers verified by hiring managers and candidates.
  • +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 

    "I followed STAR format"

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

    Product Manager
    Behavioral
    +3 more
  • Amazon logoAsked at Amazon 
    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
  • "How do you find consecutive days for login (MySQL, SQL, date, subquery, MySQL 5.7, development)? 1 Follow Request Answer More All related (34) Recommended 📷 Trausti Thor Johannsson · Follow Been using MySQL for more than 16 yearsDec 27 There are functions like DATEDIFF but there are also BETWE"

    Hayatu H. - "How do you find consecutive days for login (MySQL, SQL, date, subquery, MySQL 5.7, development)? 1 Follow Request Answer More All related (34) Recommended 📷 Trausti Thor Johannsson · Follow Been using MySQL for more than 16 yearsDec 27 There are functions like DATEDIFF but there are also BETWE"See full answer

    Data Engineer
    Coding
    +1 more
  • +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
  • 🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.

  • Amazon logoAsked at Amazon 
    +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 
    Video answer for 'Describe an experience working in a cross-functional team.'
    Product Manager
    Behavioral
    +4 more
  • "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
  • "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 

    "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
  • Amazon logoAsked at Amazon 

    "Roadblocks or obstacles are common when working on projects. It's essential to navigate them and quickly find solutions to ensure timely delivery and success of your projects. Steps to handle roadblocks or obstacles: Gauge the potential imapct and decide if it's something that needs immediate solution or something that can be handled later. If it needs urgent solutions, try to understand the rootcause of the roadblock or obstacle and dig deep. If it's a already seen problem before, try"

    Anonymous Stork - "Roadblocks or obstacles are common when working on projects. It's essential to navigate them and quickly find solutions to ensure timely delivery and success of your projects. Steps to handle roadblocks or obstacles: Gauge the potential imapct and decide if it's something that needs immediate solution or something that can be handled later. If it needs urgent solutions, try to understand the rootcause of the roadblock or obstacle and dig deep. If it's a already seen problem before, try"See full answer

    Product Manager
    Behavioral
  • Amazon logoAsked at Amazon 

    "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 

    "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 
    Video answer for 'Move all zeros to the end of an array.'
    +56

    "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
  • Amazon logoAsked at Amazon 
    +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 
    +5

    "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 
    +25

    " import java.util.*; public class MostCommonWords { public static String mostCommonWords(String text) { // your code goes here Map map = new HashMap(); for(String s : text.replaceAll("[\\p{Punct}]", "").toLowerCase().split(" ")) { if(!s.isEmpty()) { map.merge(s, 1, Integer::sum); } } return map.entrySet().stream().sorted( (e1, e2) -> { "

    Basil A. - " import java.util.*; public class MostCommonWords { public static String mostCommonWords(String text) { // your code goes here Map map = new HashMap(); for(String s : text.replaceAll("[\\p{Punct}]", "").toLowerCase().split(" ")) { if(!s.isEmpty()) { map.merge(s, 1, Integer::sum); } } return map.entrySet().stream().sorted( (e1, e2) -> { "See full answer

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

    "separate your application into three distinct layers: a Presentation Tier for the user interface, an Application Tier for business logic, and a Data Tier for data storage. Implement each tier using appropriate technologies, deploy them across different network segments for security, and configure communication protocols to allow for independent management and scaling."

    Teja G. - "separate your application into three distinct layers: a Presentation Tier for the user interface, an Application Tier for business logic, and a Data Tier for data storage. Implement each tier using appropriate technologies, deploy them across different network segments for security, and configure communication protocols to allow for independent management and scaling."See full answer

    Solutions Architect
    System Design
  • Software Engineer
    Behavioral
  • Amazon logoAsked at Amazon 
    Video answer for 'Design Amazon's Kindle payment system.'
    +4

    "Payment system requirement assumption: Need to be ACID Amount limitation - some validation for max input size can be done at client level/ API level. Need to store historic info - GDPR The information to be stored for database assumed can be structured so RDBMS like mysql or Postgres Notification requirement - if fail or success need to be text or email to user and or caller Scalable - Assumption that it deals with critical transaction so Availability and Scalability requirement i"

    Personal W. - "Payment system requirement assumption: Need to be ACID Amount limitation - some validation for max input size can be done at client level/ API level. Need to store historic info - GDPR The information to be stored for database assumed can be structured so RDBMS like mysql or Postgres Notification requirement - if fail or success need to be text or email to user and or caller Scalable - Assumption that it deals with critical transaction so Availability and Scalability requirement i"See full answer

    Product Design
    System Design
Showing 101-120 of 410