Amazon Interview Questions

Review this list of 410 Amazon interview questions and answers verified by hiring managers and candidates.
  • 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
  • "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
  • Amazon logoAsked at Amazon 
    Program Manager
    Data Analysis
    +2 more
  • Amazon logoAsked at Amazon 
    +2

    "/my initial thought was to make an example with program integration project that I led a few years ago Stage 1: Project Planning. The first stage of SDLC is all about “What do we want?” my approach was simply take project life cycle structure(initiation, planning, execution, monitoring and controlling, and closure) and elaborate on each stages did i. I lack a details and Excell skills and I should have taken SDLC structure because I fits better with JD. Stage 2: Gathering Requirements & Ana"

    Aldar M. - "/my initial thought was to make an example with program integration project that I led a few years ago Stage 1: Project Planning. The first stage of SDLC is all about “What do we want?” my approach was simply take project life cycle structure(initiation, planning, execution, monitoring and controlling, and closure) and elaborate on each stages did i. I lack a details and Excell skills and I should have taken SDLC structure because I fits better with JD. Stage 2: Gathering Requirements & Ana"See full answer

    Product 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 
    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
  • "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
  • "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 
    Video answer for 'Given an nxn grid of 1s and 0s, return the number of islands in the input.'
    +12

    " 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 

    "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
  • "The plan to deliver 200 packages in 8 hr needs to be developed keeping a few considerations in perspective 1 - Total distance a driver can reasonably travel in an 8 hr window while delivering goods 2- what is the max average distance or time in between two points of delivery to help the driver achieve the goals 3- Traffic / weather / unforeseen situation may prevent the driver from not meeting their goal Lets assume the delivery driver travels at the speed of 35m/hr and , would travel 280 m"

    Saurabh G. - "The plan to deliver 200 packages in 8 hr needs to be developed keeping a few considerations in perspective 1 - Total distance a driver can reasonably travel in an 8 hr window while delivering goods 2- what is the max average distance or time in between two points of delivery to help the driver achieve the goals 3- Traffic / weather / unforeseen situation may prevent the driver from not meeting their goal Lets assume the delivery driver travels at the speed of 35m/hr and , would travel 280 m"See full answer

    Product Manager
    Program Sense
  • "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

    Software Engineer
    Behavioral
  • "The DNS server of the site URL can identify the source of the traffic via GeoIP and redirect it to the Amazon services closest to that location. The load balancer, installed before the web server, can manage the load and redirect traffic to redundant services."

    Beth S. - "The DNS server of the site URL can identify the source of the traffic via GeoIP and redirect it to the Amazon services closest to that location. The load balancer, installed before the web server, can manage the load and redirect traffic to redundant services."See full answer

    Technical Program Manager
    System Design
  • Amazon logoAsked at Amazon 
    +43

    "from typing import List def two_sum(nums: List[int], target: int) -> List[int]: prevMap = {} for i, n in enumerate(nums): diff = target - n if diff in prevMap: return [prevMap[diff], i] else: prevMap[n] = i return [] debug your code below print(two_sum([2, 7, 11, 15], 9)) `"

    Anonymous Roadrunner - "from typing import List def two_sum(nums: List[int], target: int) -> List[int]: prevMap = {} for i, n in enumerate(nums): diff = target - n if diff in prevMap: return [prevMap[diff], i] else: prevMap[n] = i return [] debug your code below print(two_sum([2, 7, 11, 15], 9)) `"See full answer

    Software Engineer
    Data Structures & Algorithms
    +5 more
  • 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 
    +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
  • 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
  • "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
  • Technical Program Manager
    Behavioral
Showing 161-180 of 410