Skip to main content

Amazon Interview Questions

Review this list of 453 Amazon interview questions and answers verified by hiring managers and candidates.
  • Amazon logoAsked at Amazon 
    66 answers
    Video answer for 'Product of Array Except Self'
    +60

    "If 0's aren't a concern, couldn't we just multiply all numbers. and then divide product by each number in the list ? if there's more than one zero, then we just return an array of 0s if there's one zero, then we just replace 0 with product and rest 0s. what am i missing?"

    Sachin R. - "If 0's aren't a concern, couldn't we just multiply all numbers. and then divide product by each number in the list ? if there's more than one zero, then we just return an array of 0s if there's one zero, then we just replace 0 with product and rest 0s. what am i missing?"See full answer

    Software Engineer
    Data Structures & Algorithms
    +3 more
  • 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 
    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
    +2 more
  • 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
  • Amazon logoAsked at Amazon 
    3 answers

    "Situation: I led a critical initiative to re-architect the high volume customer data platform. The system handled over 90 PB of records handling around 70 billion customer records daily and was foundational to customer data capabilities across multiple enterprise products. The existing architecture faced significant challenges around latency, accuracy, and scalability, and any disruption would directly impact global customers and downstream systems. Task: I was responsible for leading t"

    Krish M. - "Situation: I led a critical initiative to re-architect the high volume customer data platform. The system handled over 90 PB of records handling around 70 billion customer records daily and was foundational to customer data capabilities across multiple enterprise products. The existing architecture faced significant challenges around latency, accuracy, and scalability, and any disruption would directly impact global customers and downstream systems. Task: I was responsible for leading t"See full answer

    Technical Program Manager
    Behavioral
    +2 more
  • 🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.

  • Amazon logoAsked at Amazon 
    1 answer

    "I believe human emotions can't be judged by number and hence I have always made mistakes while judging the outcome of a reaction by data."

    Mc L. - "I believe human emotions can't be judged by number and hence I have always made mistakes while judging the outcome of a reaction by data."See full answer

    Product Manager
    Behavioral
  • Amazon logoAsked at Amazon 
    10 answers
    Video answer for 'Design Amazon's Kindle payment system.'
    +6

    "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
  • 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 
    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

    "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 
    2 answers

    "Clarifying my assumptions first, i.e. "Technical contributions are not just writing or reviewing code". Answer : My contributions to any program I lead as a TPM are as follows : Inputs towards design, architecture review, mapping requirements to the proposed design, reviewing the implementation strategy w.r.t scalable solution, Writing core user-centric test scenarios, Validating proposed design vs implementation estimates vs initial planning. etc... Example : Situation: We are a"

    DM - "Clarifying my assumptions first, i.e. "Technical contributions are not just writing or reviewing code". Answer : My contributions to any program I lead as a TPM are as follows : Inputs towards design, architecture review, mapping requirements to the proposed design, reviewing the implementation strategy w.r.t scalable solution, Writing core user-centric test scenarios, Validating proposed design vs implementation estimates vs initial planning. etc... Example : Situation: We are a"See full answer

    Technical Program Manager
    Technical
    +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 
    5 answers
    +2

    "delete"

    David P. - "delete"See full answer

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

    "In 2019, I was given a very important problem to solve. In a team of 3 we had to build a mobility assist device. The customer segment we would go for was something we could decide. The project was very close to me as I had lost someone I loved because of cancer and I saw how reduced mobility was a huge pain point in not being able to do physical activities. My team could only think of elderly people as the main target market. As the Head of Product what I did was: 1) I helped them dive even d"

    Soumya S. - "In 2019, I was given a very important problem to solve. In a team of 3 we had to build a mobility assist device. The customer segment we would go for was something we could decide. The project was very close to me as I had lost someone I loved because of cancer and I saw how reduced mobility was a huge pain point in not being able to do physical activities. My team could only think of elderly people as the main target market. As the Head of Product what I did was: 1) I helped them dive even d"See full answer

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

    "in simple words, linear regression helps in predicting the value whereas logistics regression helps in predicting the binary classification. But lets talk through some example Linear regression model: E-commerce website pricing recommendation engine is built on linear regression model where we do have some variables such as competitor price, internal economics and consumer demand etc when we put this in a supervised learning model, it helps in predicting prices Logistics regression model"

    Anonymous Aardvark - "in simple words, linear regression helps in predicting the value whereas logistics regression helps in predicting the binary classification. But lets talk through some example Linear regression model: E-commerce website pricing recommendation engine is built on linear regression model where we do have some variables such as competitor price, internal economics and consumer demand etc when we put this in a supervised learning model, it helps in predicting prices Logistics regression model"See full answer

    Machine Learning Engineer
    Concept
    +2 more
  • "The first thing I would want to do is understand why. Did the requirements change? Did we underscope the project? Were there unforeseen technical complexities? Did our capacity or velocity change for any reason? Did other more urgent priorities come up that shifted focus away from this? Next I would want to understand all of the risks of missing the launch deadline. Are other teams dependent on our work? Are there any external marketing communications tied our to launch? What will be the impact"

    Mallory M. - "The first thing I would want to do is understand why. Did the requirements change? Did we underscope the project? Were there unforeseen technical complexities? Did our capacity or velocity change for any reason? Did other more urgent priorities come up that shifted focus away from this? Next I would want to understand all of the risks of missing the launch deadline. Are other teams dependent on our work? Are there any external marketing communications tied our to launch? What will be the impact"See full answer

    Behavioral
  • Amazon logoAsked at Amazon 
    4 answers
    +1

    "Clarifying Questions Who are we? Traditional elevator company or a new age tech startup Assumption: New age tech based elevator company Any constraints: Budget, etc. Assumption: No What kind of a skyscraper building: Assumption: Commercial. Includes office spaces as well as others Any particular goal with respect to building this elevator? Design best in class elevator providing the best user experience for passengers User needs - Users have the following needs when"

    Shasleen I. - "Clarifying Questions Who are we? Traditional elevator company or a new age tech startup Assumption: New age tech based elevator company Any constraints: Budget, etc. Assumption: No What kind of a skyscraper building: Assumption: Commercial. Includes office spaces as well as others Any particular goal with respect to building this elevator? Design best in class elevator providing the best user experience for passengers User needs - Users have the following needs when"See full answer

    Product Manager
    Product Design
    +1 more
  • Amazon logoAsked at Amazon 
    2 answers
    Video answer for 'Implement k-means clustering.'

    "at first I want to know number of cluster I will put random number if I don't know and I will use method called Elbow method or Silhouette Score ,Gap Statistic and Davies–Bouldin Index to know the best number of cluster and I will use scikit-learn library to import kmeans from sklearn.cluster import KMeans kmeans = KMeans(nclusters=2, randomstate=0) kmeans.fit(X) and X this my data "

    Taheia S. - "at first I want to know number of cluster I will put random number if I don't know and I will use method called Elbow method or Silhouette Score ,Gap Statistic and Davies–Bouldin Index to know the best number of cluster and I will use scikit-learn library to import kmeans from sklearn.cluster import KMeans kmeans = KMeans(nclusters=2, randomstate=0) kmeans.fit(X) and X this my data "See full answer

    Machine Learning Engineer
    Analytical
    +5 more
  • Amazon logoAsked at Amazon 
    2 answers

    "Back in 2019, I had to take a decision of firing an engineer as he was rude and abusive to one of my customers"

    Sridhar K. - "Back in 2019, I had to take a decision of firing an engineer as he was rude and abusive to one of my customers"See full answer

    Behavioral
  • Amazon logoAsked at Amazon 
    2 answers

    "I told a story about how our team was focussed on moving a key metric i.e. NPS and to do that we build 3 top requested user feature. Post release the detractors % didn't move even though the detractors request for features shipped went down. Then I connect with users and did some analysis post which we realised that we need to pivot our focus from shipping features to enabling complete workflows for our users i.e. shipping all those feature which are used together in a feature as then only users"

    Aditya S. - "I told a story about how our team was focussed on moving a key metric i.e. NPS and to do that we build 3 top requested user feature. Post release the detractors % didn't move even though the detractors request for features shipped went down. Then I connect with users and did some analysis post which we realised that we need to pivot our focus from shipping features to enabling complete workflows for our users i.e. shipping all those feature which are used together in a feature as then only users"See full answer

    Product Manager
    Behavioral
    +2 more
Showing 121-140 of 453
Exponent

Get updates in your inbox with the latest tips, job listings, and more.

Follow Us

Products
Courses
Interview Questions
Interview Experiences
Popular articles
Guides
Coaching
For Partners
Company
Exponent © 2026
Terms of Service | Privacy