Amazon Interview Questions

Review this list of 394 Amazon interview questions and answers verified by hiring managers and candidates.
  • 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 
    Video answer for 'Describe an experience working in a cross-functional team.'
    Product Manager
    Behavioral
    +3 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 
    Engineering Manager
    Behavioral
    +1 more
  • Amazon logoAsked at Amazon 
    +4

    " import java.io.*; import java.util.*; class Solution { static boolean canFinish(int n, int prerequisites) { List> adjMatrix = new ArrayList(); for(int i = 0; i ()); } for(int[] pre : prerequisites) { adjMatrix.get(pre[1]).add(pre[0]); } boolean[] visited = new boolean[n]; boolean[] path = new boolean[n]; for(int i"

    Basil A. - " import java.io.*; import java.util.*; class Solution { static boolean canFinish(int n, int prerequisites) { List> adjMatrix = new ArrayList(); for(int i = 0; i ()); } for(int[] pre : prerequisites) { adjMatrix.get(pre[1]).add(pre[0]); } boolean[] visited = new boolean[n]; boolean[] path = new boolean[n]; for(int i"See full answer

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

    "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 
    Machine Learning Engineer
    System Design
    +1 more
  • Amazon logoAsked at Amazon 

    "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
    +1 more
  • Product Manager
    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

    System Design
    Product Design
  • Amazon logoAsked at Amazon 

    "STAR story weaved around the project 0 to 1 execution with all the technical tradeoffs, issues, and success metrics involved."

    Push S. - "STAR story weaved around the project 0 to 1 execution with all the technical tradeoffs, issues, and success metrics involved."See full answer

    Technical Program Manager
    Behavioral
    +1 more
  • "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
  • "MOD = 10**9 + 7 def max_stability(reliability, availability): max_stability = 1 for r, a in zip(reliability, availability): Compute stability of the current server stability = r * a if stability != 0: Multiply into max_stability and take modulo maxstability = (maxstability * stability) % MOD return max_stability reliability = [1, 2, 2] availability = [1, 1, 3] print(max_stability(reliability, availability)) # Output the result mo"

    K.nithish K. - "MOD = 10**9 + 7 def max_stability(reliability, availability): max_stability = 1 for r, a in zip(reliability, availability): Compute stability of the current server stability = r * a if stability != 0: Multiply into max_stability and take modulo maxstability = (maxstability * stability) % MOD return max_stability reliability = [1, 2, 2] availability = [1, 1, 3] print(max_stability(reliability, availability)) # Output the result mo"See full answer

    Software Engineer
    Coding
  • "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 
    +1

    "delete"

    David P. - "delete"See full answer

    Product Manager
    Behavioral
    +1 more
  • Amazon logoAsked at Amazon 

    "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
  • "def mostefficientseqscore(parentheses, efficiencyratings): mes = [] for i in range(len(parentheses)): mes.append((parentheses[i], max(efficiency_ratings[i])) return sum([m[1] for m in mes]) `"

    Nathan C. - "def mostefficientseqscore(parentheses, efficiencyratings): mes = [] for i in range(len(parentheses)): mes.append((parentheses[i], max(efficiency_ratings[i])) return sum([m[1] for m in mes]) `"See full answer

    Software Engineer
    Coding
  • Amazon logoAsked at Amazon 
    Software Engineer
    System Design
  • Amazon logoAsked at Amazon 
    Video answer for 'Design Uber Eats.'
    +6

    "basic drew the diagram"

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

    Software Engineer
    System Design
    +2 more
Showing 121-140 of 394