Interview Questions

Review this list of 343 interview questions and answers verified by hiring managers and candidates.
  • Adobe logoAsked at Adobe 
    Video answer for 'Product of Array Except Self'
    +41

    "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
  • Twitter logoAsked at Twitter 
    Video answer for 'Design Twitter's API.'
    System Design
    Technical
  • Adobe logoAsked at Adobe 
    Video answer for 'Given the root of a binary tree of integers, return the maximum path sum.'

    "\# Definition for a binary tree node. class TreeNode: def init(self, val=0, left=None, right=None): self.val = val self.left = left self.right = right class Solution: def maxPathSum(self, root: TreeNode) -> int: self.max_sum = float('-inf')"

    Jerry O. - "\# Definition for a binary tree node. class TreeNode: def init(self, val=0, left=None, right=None): self.val = val self.left = left self.right = right class Solution: def maxPathSum(self, root: TreeNode) -> int: self.max_sum = float('-inf')"See full answer

    Software Engineer
    Data Structures & Algorithms
    +4 more
  • LinkedIn logoAsked at LinkedIn 
    Video answer for 'How would you improve Headspace?'
    +33

    "It would be nice if the final Google Docs link can be shared somewhere, so we can access it for reference with ease."

    Dan D. - "It would be nice if the final Google Docs link can be shared somewhere, so we can access it for reference with ease."See full answer

    Product Design
  • 🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.

  • Netflix logoAsked at Netflix 
    Video answer for 'Design an accessible alternative to airport lounges.'
    Product Designer
    Product Design
  • +10

    "SELECT items.item_category, SUM(orders.orderquantity) AS totalunitsorderedlast7days FROM orders JOIN items ON orders.itemid = items.itemid WHERE orders.order_date BETWEEN DATE('now', '-6 days') AND DATE('now') GROUP BY items.item_category `"

    Salome L. - "SELECT items.item_category, SUM(orders.orderquantity) AS totalunitsorderedlast7days FROM orders JOIN items ON orders.itemid = items.itemid WHERE orders.order_date BETWEEN DATE('now', '-6 days') AND DATE('now') GROUP BY items.item_category `"See full answer

    Coding
    SQL
  • 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
  • Microsoft logoAsked at Microsoft 
    Video answer for 'How would you use VR to improve education?'

    "I got to play with a VR for the first time a few weeks ago at my friend’s house and I loved it, so this is a really fun question. Clarifying Questions Is this something we are looking to create Microsoft or are we a startup company etc? > Education can refer to elementary, high school, university, or even self-learning (e.g. Udemy). Is there a specific area we want to focus on? << What do y"

    Rohan S. - "I got to play with a VR for the first time a few weeks ago at my friend’s house and I loved it, so this is a really fun question. Clarifying Questions Is this something we are looking to create Microsoft or are we a startup company etc? > Education can refer to elementary, high school, university, or even self-learning (e.g. Udemy). Is there a specific area we want to focus on? << What do y"See full answer

    Product Design
    Concept
  • Google logoAsked at Google 
    Video answer for 'How would you respond if a developer disagrees with your UX recommendations?'

    "Adding to what Zoe already mentioned: running a user study with existing customers to understand if they see the proposed design as favorable running AB testing with users to compare two different designs and decide which one is more favorable (based on a previously determined metrics)"

    Vlada J. - "Adding to what Zoe already mentioned: running a user study with existing customers to understand if they see the proposed design as favorable running AB testing with users to compare two different designs and decide which one is more favorable (based on a previously determined metrics)"See full answer

    Product Designer
    Behavioral
    +1 more
  • Meta (Facebook) logoAsked at Meta (Facebook) 
    Video answer for 'How do you recruit and hire good engineers?'

    "For me the answer looks very broad and general. It would be good the reply is relevant and focus good examples using STAR format. Please let me know your views."

    BePostive - "For me the answer looks very broad and general. It would be good the reply is relevant and focus good examples using STAR format. Please let me know your views."See full answer

    Behavioral
  • Netflix logoAsked at Netflix 
    Video answer for 'Design a streaming service like Netflix.'

    "using a relational database isn't a good choice for this system! we need more availability here than consistency (CAP theorem)"

    Anonymous Capybara - "using a relational database isn't a good choice for this system! we need more availability here than consistency (CAP theorem)"See full answer

    Software Engineer
    System Design
    +1 more
  • 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
  • Meta (Facebook) logoAsked at Meta (Facebook) 
    Video answer for 'Design a vending machine.'
    Engineering Manager
    System Design
    +1 more
  • Google logoAsked at Google 
    Video answer for 'Design a website for creating GIFs.'
    +1

    "Clarifying Qs: Design meaning - UI elements, front end requests and backend system architecture GIFs = standard short animated videos of 1/2 seconds built either using images or videos Make GIFs = generate gifs from images and videos Do we want to build the system for a certain volume of requests? Do you want me to consider the scalability part? I: Assumptions 1,2 & 3 are correct, ignore 3 for now Users: User b/w age 18-45 trying to generate GIFs using images(at least 3)"

    Shwetang S. - "Clarifying Qs: Design meaning - UI elements, front end requests and backend system architecture GIFs = standard short animated videos of 1/2 seconds built either using images or videos Make GIFs = generate gifs from images and videos Do we want to build the system for a certain volume of requests? Do you want me to consider the scalability part? I: Assumptions 1,2 & 3 are correct, ignore 3 for now Users: User b/w age 18-45 trying to generate GIFs using images(at least 3)"See full answer

    Product Design
  • LinkedIn logoAsked at LinkedIn 
    Video answer for 'Design a product that encourages voting.'
    +13

    "Would like to ask some clarifying questions: Is it a digital product? Yes? Application or website? Geography we are targeting? Assuming it is an app. Are we a new company or startup? Do we have any tie ups with other companies to reach a wider audience? Assuming I am the product manager of this application – goal of the application is to encourage voting more questions: Are we in the election year? Nearing the voting phase? If yes, then it will be easier for us to get users fo"

    Prerak B. - "Would like to ask some clarifying questions: Is it a digital product? Yes? Application or website? Geography we are targeting? Assuming it is an app. Are we a new company or startup? Do we have any tie ups with other companies to reach a wider audience? Assuming I am the product manager of this application – goal of the application is to encourage voting more questions: Are we in the election year? Nearing the voting phase? If yes, then it will be easier for us to get users fo"See full answer

    Product Design
Showing 221-240 of 343