Skip to main content

Interview Questions

Review this list of 4,415 interview questions and answers verified by hiring managers and candidates.
  • Amazon logoAsked at Amazon 
    +12

    "Okay, so I understand the question: "how does Google Maps compute estimated time of arrival"... There are a couple scenarios when ETA is calculated: planning a future journey, planning current journey. Can we assume scope to the current journey? The learnings will likely be transferable. User inputs to ETA include origin, destination, and route chosen. Let's assume first that the user has chosen an origin, destination, and a route chosen. We can come back to these assumptions later. The way I'"

    Daniel P. - "Okay, so I understand the question: "how does Google Maps compute estimated time of arrival"... There are a couple scenarios when ETA is calculated: planning a future journey, planning current journey. Can we assume scope to the current journey? The learnings will likely be transferable. User inputs to ETA include origin, destination, and route chosen. Let's assume first that the user has chosen an origin, destination, and a route chosen. We can come back to these assumptions later. The way I'"See full answer

    Technical Program Manager
    Technical
  • "We were working on a very high stake migration project where were suppose to migrate all the traffic (more than 40 million users per day) from legacy to modern micro-services based architecture. Before making this massive migration decision, company has already developed a lot of services outside monolith and we were suppose to utilise those services. Some these services there were PADs responsible to communicate the specific vendor APIs. For each vendor we had a dedicated PAD. Fast forward"

    Mohammad shahid S. - "We were working on a very high stake migration project where were suppose to migrate all the traffic (more than 40 million users per day) from legacy to modern micro-services based architecture. Before making this massive migration decision, company has already developed a lot of services outside monolith and we were suppose to utilise those services. Some these services there were PADs responsible to communicate the specific vendor APIs. For each vendor we had a dedicated PAD. Fast forward"See full answer

    Product Manager
    Behavioral
    +1 more
  • +1

    " Compare alternate houses i.e for each house starting from the third, calculate the maximum money that can be stolen up to that house by choosing between: Skipping the current house and taking the maximum money stolen up to the previous house. Robbing the current house and adding its value to the maximum money stolen up to the house two steps back. package main import ( "fmt" ) // rob function calculates the maximum money a robber can steal func maxRob(nums []int) int { ln"

    VContaineers - " Compare alternate houses i.e for each house starting from the third, calculate the maximum money that can be stolen up to that house by choosing between: Skipping the current house and taking the maximum money stolen up to the previous house. Robbing the current house and adding its value to the maximum money stolen up to the house two steps back. package main import ( "fmt" ) // rob function calculates the maximum money a robber can steal func maxRob(nums []int) int { ln"See full answer

    Data Engineer
    Data Structures & Algorithms
    +4 more
  • +17

    "There are several categories of ads that users may encounter on YouTube content pages, depending on the user's device and browser. To narrow the scope of my answer, I am going to assume this is a non-skippable, midroll video ad that is 15 seconds long, and shown to a non-premium desktop user in the US. The next step is to clarify the motivations behind the proposed feature. Are non-relevant ads harmful to the overall user satisfaction? Do users engage more with relevant ads? Are advertisers mak"

    Will P. - "There are several categories of ads that users may encounter on YouTube content pages, depending on the user's device and browser. To narrow the scope of my answer, I am going to assume this is a non-skippable, midroll video ad that is 15 seconds long, and shown to a non-premium desktop user in the US. The next step is to clarify the motivations behind the proposed feature. Are non-relevant ads harmful to the overall user satisfaction? Do users engage more with relevant ads? Are advertisers mak"See full answer

    Analytical
  • Amazon logoAsked at Amazon 

    "The interviewer was interested how the system design would be for files, directories, symbolic links. After proposing my idea, I was asked to print all files for a given path."

    B. T. - "The interviewer was interested how the system design would be for files, directories, symbolic links. After proposing my idea, I was asked to print all files for a given path."See full answer

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

  • +14

    "Clarify: I will assume that misinformation includes posts, videos and pictures and that sources could be Groups/ Pages and Individuals. High level structure: Mission, Information funnel and drop-off points, Metrics & Trade-offs, Mitigations Mission/ Strategy: Facebook's mission is to bring the world closer together and empower people to build community. Reliable information is key to fostering a healthy community. In light of recent world events and public sentiment, it is important f"

    Ash J. - "Clarify: I will assume that misinformation includes posts, videos and pictures and that sources could be Groups/ Pages and Individuals. High level structure: Mission, Information funnel and drop-off points, Metrics & Trade-offs, Mitigations Mission/ Strategy: Facebook's mission is to bring the world closer together and empower people to build community. Reliable information is key to fostering a healthy community. In light of recent world events and public sentiment, it is important f"See full answer

    Analytical
    Execution
  • Google logoAsked at Google 
    Video answer for 'Redesign the airport experience.'
    +8

    "I would like to speak loud to narrow the scope of this question so I can be effective in identifying a solution to the problem on hand. Hope that is OK. You mentioned, “Re-design the airport experience”. Is there a goal for this re-design exercise? Some top goals that come to my mind are the following. Please guide me so I can set it and we can proceed from there. “Increase the number of passengers who travel to and from this airport” “Improve customer satisfaction” **“Get in"

    Tara J. - "I would like to speak loud to narrow the scope of this question so I can be effective in identifying a solution to the problem on hand. Hope that is OK. You mentioned, “Re-design the airport experience”. Is there a goal for this re-design exercise? Some top goals that come to my mind are the following. Please guide me so I can set it and we can proceed from there. “Increase the number of passengers who travel to and from this airport” “Improve customer satisfaction” **“Get in"See full answer

    Product Manager
    Product Design
    +1 more
  • +1

    "My stab at this (feedback welcome): Total distance for last car 500 meters: Assuming mostly standard cars, average car length + gap = 5 meters. Acceleration time total 505 seconds: first car reacts slowest, accelerate in 10 seconds. Every other car needs 5 seconds (can see ahead). Takes 90 seconds to cover 500m: to cover 500m that means 90 seconds (20kph = 10km in 30min = 1km in 3min = 500m in 1.5m) A bit under 10 minutes = 90s + 505s. Probably a bit less as last car"

    Gabe M. - "My stab at this (feedback welcome): Total distance for last car 500 meters: Assuming mostly standard cars, average car length + gap = 5 meters. Acceleration time total 505 seconds: first car reacts slowest, accelerate in 10 seconds. Every other car needs 5 seconds (can see ahead). Takes 90 seconds to cover 500m: to cover 500m that means 90 seconds (20kph = 10km in 30min = 1km in 3min = 500m in 1.5m) A bit under 10 minutes = 90s + 505s. Probably a bit less as last car"See full answer

    BizOps & Strategy
    Data Analysis
    +1 more
  • "from collections import deque from typing import List def longestsubarraydifflessthan_n(nums: List[int], N: int) -> int: """ Find the length of the longest contiguous subarray such that the difference between any two elements in the subarray is less than N. Equivalent condition: max(subarray) - min(subarray) < N Approach (Optimal): Sliding window with two monotonic deques: max_d: decreasing deque of indices (front is index of current max"

    Ramachandra N. - "from collections import deque from typing import List def longestsubarraydifflessthan_n(nums: List[int], N: int) -> int: """ Find the length of the longest contiguous subarray such that the difference between any two elements in the subarray is less than N. Equivalent condition: max(subarray) - min(subarray) < N Approach (Optimal): Sliding window with two monotonic deques: max_d: decreasing deque of indices (front is index of current max"See full answer

    Software Engineer
    Data Structures & Algorithms
    +1 more
  • Meta logoAsked at Meta 
    +11

    "CQ: What's the goal - we are just exploring Any specific timeline we are targeting - NA Why specifically podcast - its a growing area and can help engage the customers Any specific geography to be kept on mind - You tell Approach: Understand Netflix’s landscape Understand more about the Podcast space via Porter’s 5 Forces framework Decide mode of entry Tradeoffs & Risk Netflix’s landscape; Product - OTT player Who uses - kids, adults When do they use – leisure"

    Anonymous Newt - "CQ: What's the goal - we are just exploring Any specific timeline we are targeting - NA Why specifically podcast - its a growing area and can help engage the customers Any specific geography to be kept on mind - You tell Approach: Understand Netflix’s landscape Understand more about the Podcast space via Porter’s 5 Forces framework Decide mode of entry Tradeoffs & Risk Netflix’s landscape; Product - OTT player Who uses - kids, adults When do they use – leisure"See full answer

    Product Manager
    Product Strategy
  • Google logoAsked at Google 
    +1

    "Clarifying questions : I would like to confirm what type of parking spots we are talking about, should we assume cars ? Assumption : Cars Is it referring to only parking spots in non-residential complexes or public places or does it include residential too ?Assumption : both Assumptions : Places where we could see parking spots Shopping malls Parking in the park Residence spots Legal parking spots Variables in play Population = assuming a family of 4 => population / 4 (nu"

    Karthik T. - "Clarifying questions : I would like to confirm what type of parking spots we are talking about, should we assume cars ? Assumption : Cars Is it referring to only parking spots in non-residential complexes or public places or does it include residential too ?Assumption : both Assumptions : Places where we could see parking spots Shopping malls Parking in the park Residence spots Legal parking spots Variables in play Population = assuming a family of 4 => population / 4 (nu"See full answer

    Product Manager
    Estimation
  • +11

    "def hasgoodsubarray(nums, k): if not nums: return False prefix = 0 table = set([0]) for i in range(len(nums)): prefix += nums[i] if prefix % k in table: return True table.add(prefix % k) return False `"

    Wayne W. - "def hasgoodsubarray(nums, k): if not nums: return False prefix = 0 table = set([0]) for i in range(len(nums)): prefix += nums[i] if prefix % k in table: return True table.add(prefix % k) return False `"See full answer

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

    "Thanks for the question! This is one of my favourite topics because it’s at the core of what we do as PMs DAILY: making the complex simple to drive alignment. I’ve got a structured way to approach this, and I’ll use it to explain payment aggregators - like Plaid - and how they enable Open Banking, with a twist about a technical hiccup I’ve seen in practice. Let’s dive in. I start by assessing the audience. Say I’m talking to a marketing manager at Transak - someone sharp but not techni"

    Adarsh S. - "Thanks for the question! This is one of my favourite topics because it’s at the core of what we do as PMs DAILY: making the complex simple to drive alignment. I’ve got a structured way to approach this, and I’ll use it to explain payment aggregators - like Plaid - and how they enable Open Banking, with a twist about a technical hiccup I’ve seen in practice. Let’s dive in. I start by assessing the audience. Say I’m talking to a marketing manager at Transak - someone sharp but not techni"See full answer

    Technical Program Manager
    Behavioral
    +3 more
  • Software Engineer
    Coding
  • +2

    "Clarifying question: AOV/USER it means that the total price paid by a user in a certain period should be more than what it is now ? Is the average taken on a daily/ weekly/monthly basis ? I would presume it to be a monthly basis , as it helps us a defined period of time to analyse user beharviour and track number of orders. Daily wont be succesfull mertric , as ocassionally only a user may order multiple times in a day , also weekly is also a viable metric but that wont help us to analyse"

    Sdn D. - "Clarifying question: AOV/USER it means that the total price paid by a user in a certain period should be more than what it is now ? Is the average taken on a daily/ weekly/monthly basis ? I would presume it to be a monthly basis , as it helps us a defined period of time to analyse user beharviour and track number of orders. Daily wont be succesfull mertric , as ocassionally only a user may order multiple times in a day , also weekly is also a viable metric but that wont help us to analyse"See full answer

    Product Manager
    Product Strategy
  • Amazon logoAsked at Amazon 
    Video answer for 'Design a rate limiter.'
    +9

    "Rate Limiter is to limit the number of request from a particular IP Address. Rate limiter will block the IP address to reduce the load on server. It should be highly available and handle concurrent requests. Blocked IP addresses should be kept in a pool which is present in shared cache. We need to keep threshold value after it reaches threshold value it should start blocking IP address. All these ip address to be kept in No SQL DB. Batch will run that will clear the cache and delete all the bloc"

    Ashish G. - "Rate Limiter is to limit the number of request from a particular IP Address. Rate limiter will block the IP address to reduce the load on server. It should be highly available and handle concurrent requests. Blocked IP addresses should be kept in a pool which is present in shared cache. We need to keep threshold value after it reaches threshold value it should start blocking IP address. All these ip address to be kept in No SQL DB. Batch will run that will clear the cache and delete all the bloc"See full answer

    Software Engineer
    System Design
    +1 more
  • Google logoAsked at Google 
    +3

    "Ask clarifying questions 1/ Are there any business changes to be aware of? 2/ Youtube Premium already exists so I am guessing we are not revisiting changing the prices just restarting the process from scratch 3/ Pricing for a specific market? North America, Asia, somewhere else? To tackle this I would break down the problem into a few steps, What is Google's mission and how Youtube premium fits into that Google's mission is to organize information and make it accessible to all You"

    Glados - "Ask clarifying questions 1/ Are there any business changes to be aware of? 2/ Youtube Premium already exists so I am guessing we are not revisiting changing the prices just restarting the process from scratch 3/ Pricing for a specific market? North America, Asia, somewhere else? To tackle this I would break down the problem into a few steps, What is Google's mission and how Youtube premium fits into that Google's mission is to organize information and make it accessible to all You"See full answer

    Product Manager
    Analytical
  • "Meta Pay - What is it? Payment platform that lets people buy and send money on Facebook, IG and Instagram on platforms like FB and IG, people already find things they like and the businesses can sell directly on the platform through shops so Pay is closing the last mile and letting them also check out quickly once they’ve added their card details once. It’s making it a real one-stop shop. It also allows making more transactions directly on the platform without having to enter card deta"

    Rotem L. - "Meta Pay - What is it? Payment platform that lets people buy and send money on Facebook, IG and Instagram on platforms like FB and IG, people already find things they like and the businesses can sell directly on the platform through shops so Pay is closing the last mile and letting them also check out quickly once they’ve added their card details once. It’s making it a real one-stop shop. It also allows making more transactions directly on the platform without having to enter card deta"See full answer

    Product Manager
    Analytical
    +1 more
  • Anthropic logoAsked at Anthropic 
    +1

    "Hallucinations are evaluated by measuring how often generated outputs contain information that is not supported by trusted sources. what hallucination means in context: Intrinsic hallucination: contradicts provided context Extrinsic hallucination: introduces unsupported facts Fabrication: confidently incorrect answers"

    Hardik saurabh G. - "Hallucinations are evaluated by measuring how often generated outputs contain information that is not supported by trusted sources. what hallucination means in context: Intrinsic hallucination: contradicts provided context Extrinsic hallucination: introduces unsupported facts Fabrication: confidently incorrect answers"See full answer

    Product Manager
    Artificial Intelligence
    +3 more
Showing 301-320 of 4415