Amazon Interview Questions

Review this list of 393 Amazon interview questions and answers verified by hiring managers and candidates.
  • Amazon logoAsked at Amazon 
    +2

    "Situation: COVID has impacted everyone's lives, especially small businesses. Earlier this year, during the second lockdown in Malaysia, it was estimated that 50%-70% of small businesses have closed. It got me thinking, beyond the existing training programmes, what can my company do to support small businesses? Task: So, I took the initiative to gather our Comms and Government Affairs team, to work together and explore how we can: 1) meaningfully demonstrate our company's commitment in"

    Judy W. - "Situation: COVID has impacted everyone's lives, especially small businesses. Earlier this year, during the second lockdown in Malaysia, it was estimated that 50%-70% of small businesses have closed. It got me thinking, beyond the existing training programmes, what can my company do to support small businesses? Task: So, I took the initiative to gather our Comms and Government Affairs team, to work together and explore how we can: 1) meaningfully demonstrate our company's commitment in"See full answer

    Product Manager
    Behavioral
    +1 more
  • "Which one I critical, is the erratic change in the delivery cycle is one you need to investigate and further deep dive into to find the root cause"

    Vijay S. - "Which one I critical, is the erratic change in the delivery cycle is one you need to investigate and further deep dive into to find the root cause"See full answer

    Product Manager
    Program Sense
  • Amazon logoAsked at Amazon 

    "Was the statement very similar to the leetcode or was it changed and only the main idea remained?"

    Anonymous Wombat - "Was the statement very similar to the leetcode or was it changed and only the main idea remained?"See full answer

    Software Engineer
    Data Structures & Algorithms
    +1 more
  • Amazon logoAsked at Amazon 
    Video answer for 'Design Prime Video.'
    +8

    "Amazon Prime will generally have a limited group of uploaders rather than a million of them. This should influence the design of the Uploader service as it doesn't need to scale that much. Also the Encoding service role was not too clear"

    Nilanjan D. - "Amazon Prime will generally have a limited group of uploaders rather than a million of them. This should influence the design of the Uploader service as it doesn't need to scale that much. Also the Encoding service role was not too clear"See full answer

    System Design
  • Amazon logoAsked at Amazon 

    "A project charter is a formal document that authorizes a project and outlines its objectives, scope, stakeholders, and key details. It serves as an agreement among stakeholders and provides a clear foundation for the project by defining what needs to be done and why. Typically, the project sponsor issues the project charter to the project manager or team, formally initiating the project. A project charter typically includes the following key elements to ensure a comprehensive and clear unde"

    Jatin S. - "A project charter is a formal document that authorizes a project and outlines its objectives, scope, stakeholders, and key details. It serves as an agreement among stakeholders and provides a clear foundation for the project by defining what needs to be done and why. Typically, the project sponsor issues the project charter to the project manager or team, formally initiating the project. A project charter typically includes the following key elements to ensure a comprehensive and clear unde"See full answer

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

  • Amazon logoAsked at Amazon 
    Video answer for 'Design a URL shortener.'
    +19

    "I studied Exponent's TinyURL system design video. My interviewer was asking many detailed questions on API design, schema, as well as data required to store. I found system design questions are bit high level instead of depth. I think should have detail design of API, schema and some additional flavors."

    Yag S. - "I studied Exponent's TinyURL system design video. My interviewer was asking many detailed questions on API design, schema, as well as data required to store. I found system design questions are bit high level instead of depth. I think should have detail design of API, schema and some additional flavors."See full answer

    Engineering Manager
    System Design
    +1 more
  • Amazon logoAsked at Amazon 
    Software Engineer
    Behavioral
  • Amazon logoAsked at Amazon 

    "input_logs = [ f"{senderid} {receiverid} {transaction_count}" "1 2 2", "3 2 42", "2 2 22", "1 1 12", "2 1 1", "2 5 4", "4 2 15" ] input_threshold = 20 exptected_output = [ list of user_ids that made more than 20 transactions sorted by number of transactions in descending order "3", # 42 transactions "2", # 27 transactions (22 + 1 + 4) #"4", # 15 transactions #"1" # 14 transactions (2 + 12 + 1) ] def gettopapi_users(logs, thres"

    Anonymous Unicorn - "input_logs = [ f"{senderid} {receiverid} {transaction_count}" "1 2 2", "3 2 42", "2 2 22", "1 1 12", "2 1 1", "2 5 4", "4 2 15" ] input_threshold = 20 exptected_output = [ list of user_ids that made more than 20 transactions sorted by number of transactions in descending order "3", # 42 transactions "2", # 27 transactions (22 + 1 + 4) #"4", # 15 transactions #"1" # 14 transactions (2 + 12 + 1) ] def gettopapi_users(logs, thres"See full answer

    Software Engineer
    Coding
    +1 more
  • Amazon logoAsked at Amazon 
    +2

    "My Answer. Please let me know your feedback. I have led many projects throughout my career. So, whenever I lead the project, I first try to clarify the goals and values delivered. For example, I was in charge of Data Analytics projects at my employment at a Startup. The team’s goal was launching the MVP. First, I discussed with the CEO to define the clear goal and scope for each of the projects. Next, I identified all the key stakeholders and received their inputs on the project's different a"

    Balaji G. - "My Answer. Please let me know your feedback. I have led many projects throughout my career. So, whenever I lead the project, I first try to clarify the goals and values delivered. For example, I was in charge of Data Analytics projects at my employment at a Startup. The team’s goal was launching the MVP. First, I discussed with the CEO to define the clear goal and scope for each of the projects. Next, I identified all the key stakeholders and received their inputs on the project's different a"See full answer

    Product Manager
    Behavioral
    +2 more
  • "Clarification: Are we talking of Amazon as an entity in whole (or) Amazon E-commerce ? I would like to use overlap across following buckets with emphasis on current product & markets, Future adjacencies and expansions, strengths barrier to entry in the markets either way Amazon Intuit Products - Considering Amazon as a whole - Devices - AWS - E-Commerce - Music - Video - E-Books - All other services, currently there is no overlap between the use-cases and services offered"

    Pm P. - "Clarification: Are we talking of Amazon as an entity in whole (or) Amazon E-commerce ? I would like to use overlap across following buckets with emphasis on current product & markets, Future adjacencies and expansions, strengths barrier to entry in the markets either way Amazon Intuit Products - Considering Amazon as a whole - Devices - AWS - E-Commerce - Music - Video - E-Books - All other services, currently there is no overlap between the use-cases and services offered"See full answer

    Product Strategy
  • Amazon logoAsked at Amazon 

    "The user awakes Alexa by saying the "Alexa word" Device starts recording audio from the user, and streaming it to the Alexa Cloud Service The recorded audio stream is sent to the ASR (Automatic Speech Recognition) system ASR returns the words and the order of the words in the audio stream, and sends this information to NLU (Natural Language Understanding) NLU returns the intent of the audio stream, and sends it to Alexa Skill If the intent triggers a "play" directive (e.g. turn"

    Kai W. - "The user awakes Alexa by saying the "Alexa word" Device starts recording audio from the user, and streaming it to the Alexa Cloud Service The recorded audio stream is sent to the ASR (Automatic Speech Recognition) system ASR returns the words and the order of the words in the audio stream, and sends this information to NLU (Natural Language Understanding) NLU returns the intent of the audio stream, and sends it to Alexa Skill If the intent triggers a "play" directive (e.g. turn"See full answer

    System Design
    Technical
  • Amazon logoAsked at Amazon 

    "I think rapport with the team is key to deciding what one of these members can do that would bring more development capability to him, the team and the project. Analyzing the skill and attitude of my team members in advance and putting them in the role where they are strongest and happiest has been an important factor in my success stories. Taking care to identify a potential leader in the team will make it evolve faster as well. So this is how I make decisions when forming a squad for a spec"

    Sueudo G. - "I think rapport with the team is key to deciding what one of these members can do that would bring more development capability to him, the team and the project. Analyzing the skill and attitude of my team members in advance and putting them in the role where they are strongest and happiest has been an important factor in my success stories. Taking care to identify a potential leader in the team will make it evolve faster as well. So this is how I make decisions when forming a squad for a spec"See full answer

    Solutions Architect
    Behavioral
  • Amazon logoAsked at Amazon 
    Video answer for 'Implement a k-nearest neighbors algorithm.'
    +4

    "Even more faster and vectorized version, using np.linalg.norm - to avoid loop and np.argpartition to select lowest k. We dont need to sort whole array - we need to be sure that first k elements are lower than the rest. import numpy as np def knn(Xtrain, ytrain, X_new, k): distances = np.linalg.norm(Xtrain - Xnew, axis=1) k_indices = np.argpartition(distances, k)[:k] # O(N) selection instead of O(N log N) sort return int(np.sum(ytrain[kindices]) > k / 2.0) `"

    Dinar M. - "Even more faster and vectorized version, using np.linalg.norm - to avoid loop and np.argpartition to select lowest k. We dont need to sort whole array - we need to be sure that first k elements are lower than the rest. import numpy as np def knn(Xtrain, ytrain, X_new, k): distances = np.linalg.norm(Xtrain - Xnew, axis=1) k_indices = np.argpartition(distances, k)[:k] # O(N) selection instead of O(N log N) sort return int(np.sum(ytrain[kindices]) > k / 2.0) `"See full answer

    Machine Learning Engineer
    Coding
    +2 more
  • "During my internship at Inceptra Analytics, our team was working on improving the monthly reporting process for the operations department. I proposed switching from manual Excel reports to a Power BI dashboard to automate and visualize key metrics. However, some team members were hesitant—they felt the current process, although tedious, was more familiar and controllable. My task was to get buy-in from the team to adopt a more efficient reporting method without causing disruption or resistance."

    Dhruv M. - "During my internship at Inceptra Analytics, our team was working on improving the monthly reporting process for the operations department. I proposed switching from manual Excel reports to a Power BI dashboard to automate and visualize key metrics. However, some team members were hesitant—they felt the current process, although tedious, was more familiar and controllable. My task was to get buy-in from the team to adopt a more efficient reporting method without causing disruption or resistance."See full answer

    Behavioral
  • Amazon logoAsked at Amazon 
    +8

    "Questions to ask : Are there negative values in the input array? Interview : YES Will the product of two number fit into 32-bit Integer. If not, will it fit 64-bit Integer. If not, then is it safe to use Big Integer? Interview : let's worry only about 32 bit Integer What should we return if the input array is null or size (size of input array) is less than 2? Return 0 From above Information: General approach is as follows : a) Track smallest 2 elements in the array -> p"

    Rajendra D. - "Questions to ask : Are there negative values in the input array? Interview : YES Will the product of two number fit into 32-bit Integer. If not, will it fit 64-bit Integer. If not, then is it safe to use Big Integer? Interview : let's worry only about 32 bit Integer What should we return if the input array is null or size (size of input array) is less than 2? Return 0 From above Information: General approach is as follows : a) Track smallest 2 elements in the array -> p"See full answer

    Data Structures & Algorithms
    Coding
  • "Why is it answered like a Product Design Question? Shouldn't this be a strategy type answer analyzing the pros/cons of the service etc.?"

    Aditya O. - "Why is it answered like a Product Design Question? Shouldn't this be a strategy type answer analyzing the pros/cons of the service etc.?"See full answer

    Product Strategy
    System Design
  • Amazon logoAsked at Amazon 
    Video answer for 'Given an nxn grid of 1s and 0s, return the number of islands in the input.'
    +10

    " from typing import List def getnumberof_islands(binaryMatrix: List[List[int]]) -> int: if not binaryMatrix: return 0 rows = len(binaryMatrix) cols = len(binaryMatrix[0]) islands = 0 for r in range(rows): for c in range(cols): if binaryMatrixr == 1: islands += 1 dfs(binaryMatrix, r, c) return islands def dfs(grid, r, c): if ( r = len(grid) "

    Rick E. - " from typing import List def getnumberof_islands(binaryMatrix: List[List[int]]) -> int: if not binaryMatrix: return 0 rows = len(binaryMatrix) cols = len(binaryMatrix[0]) islands = 0 for r in range(rows): for c in range(cols): if binaryMatrixr == 1: islands += 1 dfs(binaryMatrix, r, c) return islands def dfs(grid, r, c): if ( r = len(grid) "See full answer

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

    "Pizza Ordering System orderdetail - orderdetailid (PK), orderid (FK), itemid (FK), itemqty, itemized_price order - orderid (PK), customerid (FK), orderdate, locationid (FK), ordertype (DINEIN, PICKUP, DELIVERY), refid (dineinid, pickupid, deliveryid), subtotal, tax, tip, totalamount, payment_method (CASH, CARD) location - locationid (PK), locationdesc, city, state, startdate, enddate customer - customer_id (PK), name, address (nullable), phone (nullable), dob (d"

    Rishabh L. - "Pizza Ordering System orderdetail - orderdetailid (PK), orderid (FK), itemid (FK), itemqty, itemized_price order - orderid (PK), customerid (FK), orderdate, locationid (FK), ordertype (DINEIN, PICKUP, DELIVERY), refid (dineinid, pickupid, deliveryid), subtotal, tax, tip, totalamount, payment_method (CASH, CARD) location - locationid (PK), locationdesc, city, state, startdate, enddate customer - customer_id (PK), name, address (nullable), phone (nullable), dob (d"See full answer

    Solutions Architect
    Technical
  • Amazon logoAsked at Amazon 

    "Count items between indices within compartments compartments are delineated by by: '|' items are identified by: '*' input_inventory = "*||||" inputstartidxs = [1, 4, 6] inputendidxs = [9, 5, 8] expected_output = [3, 0, 1] Explanation: "*||||" 0123456789... indices ++ + # within compartments ^ start_idx = 1 ^ end_idx = 9 -- - # within idxs but not within compartments "*||||" 0123456789... indices "

    Anonymous Unicorn - "Count items between indices within compartments compartments are delineated by by: '|' items are identified by: '*' input_inventory = "*||||" inputstartidxs = [1, 4, 6] inputendidxs = [9, 5, 8] expected_output = [3, 0, 1] Explanation: "*||||" 0123456789... indices ++ + # within compartments ^ start_idx = 1 ^ end_idx = 9 -- - # within idxs but not within compartments "*||||" 0123456789... indices "See full answer

    Software Engineer
    Data Structures & Algorithms
    +1 more
Showing 161-180 of 393