Skip to main content

Amazon Interview Questions

Review this list of 412 Amazon interview questions and answers verified by hiring managers and candidates.
  • Amazon logoAsked at Amazon 
    Software Engineer
    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.'
    +14

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

  • 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
  • Technical Program Manager
    Behavioral
  • "To describe designing a complex system architecture, an AI would outline its analytical, iterative, and constraint-driven approach, highlighting principles like microservices, scalability, and security. An AI's process would be based on patterns learned from vast datasets of successful architectural designs, focusing on adaptability for different applications. Here is a breakdown of an AI's approach to designing a complex system, followed by a hypothetical example based on its internal knowledge"

    Teja G. - "To describe designing a complex system architecture, an AI would outline its analytical, iterative, and constraint-driven approach, highlighting principles like microservices, scalability, and security. An AI's process would be based on patterns learned from vast datasets of successful architectural designs, focusing on adaptability for different applications. Here is a breakdown of an AI's approach to designing a complex system, followed by a hypothetical example based on its internal knowledge"See full answer

    Solutions Architect
    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
  • "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
  • "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
  • "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 
    Engineering Manager
    Behavioral
    +1 more
  • Amazon logoAsked at Amazon 

    "Modernizing banking legacy systems and applications The modernization process typically involves moving from mainframe-based legacy platforms to solutions based on cloud and other modern digital technologies"

    Teja G. - "Modernizing banking legacy systems and applications The modernization process typically involves moving from mainframe-based legacy platforms to solutions based on cloud and other modern digital technologies"See full answer

    Solutions Architect
    System Design
  • 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
  • "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 

    "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
  • "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 
    Program Manager
    Data Analysis
    +2 more
Showing 161-180 of 412