Skip to main content

Interview Questions

Review this list of 4,411 interview questions and answers verified by hiring managers and candidates.
  • Anthropic logoAsked at Anthropic 
    Video answer for 'Design a web crawler.'
    +7

    "I think, robots.txt file is provided by websites which web-crawler is crawling. Am I wrong somewhere or missing some context?"

    S V. - "I think, robots.txt file is provided by websites which web-crawler is crawling. Am I wrong somewhere or missing some context?"See full answer

    Engineering Manager
    System Design
    +1 more
  • +47

    "#include #include #include using namespace std; vector diff(const vector& A, const vector& B) { unordered_set elements; vector result; for (const auto& element : A) { elements.insert(element); } for (const auto& element : B) { if (elements.find(element) == elements.end()) { result.push_back(element); } else { elements.erase(element); } } for"

    Chinmay S. - "#include #include #include using namespace std; vector diff(const vector& A, const vector& B) { unordered_set elements; vector result; for (const auto& element : A) { elements.insert(element); } for (const auto& element : B) { if (elements.find(element) == elements.end()) { result.push_back(element); } else { elements.erase(element); } } for"See full answer

    Data Structures & Algorithms
    Coding
  • +59

    "Limit and rank() only works if there are no 2 employees with same salary ( which is okay for this use case) For the query to pass all the test results, we need to use dense_rank with ranked_employees as ( select id, firstname, lastname, salary, denserank() over(order by salary desc) as salaryrank from employees ) select id, firstname, lastname, salary from ranked_employees where salary_rank <= 3 `"

    Vysali K. - "Limit and rank() only works if there are no 2 employees with same salary ( which is okay for this use case) For the query to pass all the test results, we need to use dense_rank with ranked_employees as ( select id, firstname, lastname, salary, denserank() over(order by salary desc) as salaryrank from employees ) select id, firstname, lastname, salary from ranked_employees where salary_rank <= 3 `"See full answer

    Data Engineer
    Coding
    +3 more
  • +1

    "What is Meta Quest, Horizon world VR game? Horizons worlds is a platform that lets creators build worlds where real people can come and interact. This could be a gaming world, a socializing world, a marketplace, immersive experience, etc. Why would people want to use Horizon worlds: Because it isn’t possible to always visit all places in person I know that Meta has been encouraging creators at this time because the Horizon’s worlds needs a lot of worlds for it to be interesting for customers Cus"

    Sandhya P. - "What is Meta Quest, Horizon world VR game? Horizons worlds is a platform that lets creators build worlds where real people can come and interact. This could be a gaming world, a socializing world, a marketplace, immersive experience, etc. Why would people want to use Horizon worlds: Because it isn’t possible to always visit all places in person I know that Meta has been encouraging creators at this time because the Horizon’s worlds needs a lot of worlds for it to be interesting for customers Cus"See full answer

    Product Manager
    Analytical
    +1 more
  • Dropbox logoAsked at Dropbox 
    +6

    "This is my first attempt at an estimation question, any feedback is appreciated. I'd like to clarify if AirBNB's core services would include user reservations on its web/mobile platform on a per night basis. I'd also assume if we would to estimate the topline revenue (or gross merchandise sales) without factoring operational expenses and taxes. I'd also clarify if basing my estimation on revenue from its largest marketplace, US, is reasonable. Population of US - 350 MM Avg Household size - 2.5"

    Saleel P. - "This is my first attempt at an estimation question, any feedback is appreciated. I'd like to clarify if AirBNB's core services would include user reservations on its web/mobile platform on a per night basis. I'd also assume if we would to estimate the topline revenue (or gross merchandise sales) without factoring operational expenses and taxes. I'd also clarify if basing my estimation on revenue from its largest marketplace, US, is reasonable. Population of US - 350 MM Avg Household size - 2.5"See full answer

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

  • +4

    "Clarifications: Where are we launching? -- US first 1:1 or n:n video conferencing? -- you assume Consumers or Business? -- consumers Part of FB or standalone product? -- part of messenger app Is it MVP launch or a full feature product? -- MVP What capabilities exist in the video conference product? -- you assume what capabilities will be > Trends and Markets Competitors: Consumer Zoom Google Meet Business: Slack MS Teams Trends: More and more people are usi"

    Aniket A. - "Clarifications: Where are we launching? -- US first 1:1 or n:n video conferencing? -- you assume Consumers or Business? -- consumers Part of FB or standalone product? -- part of messenger app Is it MVP launch or a full feature product? -- MVP What capabilities exist in the video conference product? -- you assume what capabilities will be > Trends and Markets Competitors: Consumer Zoom Google Meet Business: Slack MS Teams Trends: More and more people are usi"See full answer

    Product Manager
    Analytical
    +1 more
  • +5

    "Clarifying Qns: Did the watch time went down and comments went up for the same videos or are we saying total watch time and total comments on Youtube? (Total) I am assuming we are not including Youtube Live videos because those are typically live chat 1000’s of comments for a single video. (Correct) Do we know if these two could be independent problems not correlated with each other (No) Here is my approach to diagnose the root cause: Will look at some general trends first Intern"

    Jacob C. - "Clarifying Qns: Did the watch time went down and comments went up for the same videos or are we saying total watch time and total comments on Youtube? (Total) I am assuming we are not including Youtube Live videos because those are typically live chat 1000’s of comments for a single video. (Correct) Do we know if these two could be independent problems not correlated with each other (No) Here is my approach to diagnose the root cause: Will look at some general trends first Intern"See full answer

    Analytical
    Execution
  • Amazon logoAsked at Amazon 
    +1

    "Situation - A time I dealt with conflict while on a team was while I was working at Shopify on physical and digital gift card refund point of sale solutions. The situation was that we were dealing with complex technical constraints including not changing particular UI components behavior to act as they should be intended. On the refund screen, the existing design was using a toggle on the same screen to bring up a modal for gift card selection to either select digital or physical options. Thi"

    Ben G. - "Situation - A time I dealt with conflict while on a team was while I was working at Shopify on physical and digital gift card refund point of sale solutions. The situation was that we were dealing with complex technical constraints including not changing particular UI components behavior to act as they should be intended. On the refund screen, the existing design was using a toggle on the same screen to bring up a modal for gift card selection to either select digital or physical options. Thi"See full answer

    Product Designer
    Behavioral
    +3 more
  • +2

    "Clarifying questions: How much is the decline? Since when have sales been declining? Make sure that it has correlation with competition and not a premature assumption that can come from something internal (not external competition). Is it all the stores? What is the variation in the dicline? If you have stores that have 20% less sales vs some that are steady, it might be something related to the store experience specifically. How does the decrease in sales compare to cities that ha"

    Natalia N. - "Clarifying questions: How much is the decline? Since when have sales been declining? Make sure that it has correlation with competition and not a premature assumption that can come from something internal (not external competition). Is it all the stores? What is the variation in the dicline? If you have stores that have 20% less sales vs some that are steady, it might be something related to the store experience specifically. How does the decrease in sales compare to cities that ha"See full answer

    Product Manager
    Analytical
  • Meta logoAsked at Meta 
    Video answer for 'Should Uber Eats be a separate app from Uber Rides?'
    +2

    "Approach: 1) Clarify question with interviewer When we say "app", I'd like to confirm the app for which user. For example, in Rides, we have an app for the rider and an app for the driver. For Eats, we have an experience for a customer purchasing food but I don't know of the experience for the restaurant. Could you confirm which users' experience you're describing when saying "app"? Let's say rider/customer purchasing food. Also is this a situation prior to launch of Uber Eats, wh"

    Michelle D. - "Approach: 1) Clarify question with interviewer When we say "app", I'd like to confirm the app for which user. For example, in Rides, we have an app for the rider and an app for the driver. For Eats, we have an experience for a customer purchasing food but I don't know of the experience for the restaurant. Could you confirm which users' experience you're describing when saying "app"? Let's say rider/customer purchasing food. Also is this a situation prior to launch of Uber Eats, wh"See full answer

    Analytical
    Execution
    +1 more
  • "Situation: At my previous company, we had more than 200 different data sources across 15 business units. These included CRM systems, marketing platforms, HR databases, and even third-party data feeds. The problem was that each team was managing data in its own way. This created inconsistent privacy controls, data quality issues, and compliance gaps, all of which were becoming urgent ahead of a major regulatory audit. Task: I was given the responsibility of implementing a unified data governance"

    Mark G. - "Situation: At my previous company, we had more than 200 different data sources across 15 business units. These included CRM systems, marketing platforms, HR databases, and even third-party data feeds. The problem was that each team was managing data in its own way. This created inconsistent privacy controls, data quality issues, and compliance gaps, all of which were becoming urgent ahead of a major regulatory audit. Task: I was given the responsibility of implementing a unified data governance"See full answer

    Technical Program Manager
    Program Sense
  • xAI logoAsked at xAI 

    "Which location you were interviewed? Can you please share some details?"

    K S. - "Which location you were interviewed? Can you please share some details?"See full answer

    Software Engineer
    System Design
  • Google logoAsked at Google 
    +1

    "1) Clarifications Is this a Google initiative? Yes Timeline for development? MVP within 3 months. Hotel type? Focus on urban and mid-sized hotels Items to offer? Include ready-to-eat meals/snacks (e.g., microwaveable food, healthy snacks, beverages). Geographic scope? Launch in the US only. 2) Google Mission / Why "Organize the world’s information and make it universally accessible and useful." Google aims to enhance the guest experienc"

    Carlos S. - "1) Clarifications Is this a Google initiative? Yes Timeline for development? MVP within 3 months. Hotel type? Focus on urban and mid-sized hotels Items to offer? Include ready-to-eat meals/snacks (e.g., microwaveable food, healthy snacks, beverages). Geographic scope? Launch in the US only. 2) Google Mission / Why "Organize the world’s information and make it universally accessible and useful." Google aims to enhance the guest experienc"See full answer

    Product Manager
    Product Design
  • Microsoft logoAsked at Microsoft 
    Technical Program Manager
    Cross-Functional
    +1 more
  • Meta logoAsked at Meta 
    +6

    "Clarifying questions Scope: Just Reels in Facebook, or Instagram too? Mobile and desktop? Goal: Any specific goal we know of or up to me to decide? Framework/Overview Strategy Metric options with pros/cons North Star Metric (NSM) Risks & countermetrics Strategy / The Why: we want to give people … Meta: the power to build community + Bring people closer together Reels: new form of self-expression / entertainment with short form video and pro editing tools Ads in Re"

    Mike Z. - "Clarifying questions Scope: Just Reels in Facebook, or Instagram too? Mobile and desktop? Goal: Any specific goal we know of or up to me to decide? Framework/Overview Strategy Metric options with pros/cons North Star Metric (NSM) Risks & countermetrics Strategy / The Why: we want to give people … Meta: the power to build community + Bring people closer together Reels: new form of self-expression / entertainment with short form video and pro editing tools Ads in Re"See full answer

    Product Manager
    Analytical
    +2 more
  • Meta logoAsked at Meta 

    "class TreeNode(var val: Int, var left: TreeNode? = null, var right: TreeNode? = null) fun isAverageOfDescendants(root: TreeNode?): Boolean { fun helper(node: TreeNode?): Triple { if (node == null) return Triple(0, 0, true) val (leftSum, leftCount, leftValid) = helper(node.left) val (rightSum, rightCount, rightValid) = helper(node.right) val totalSum = leftSum + rightSum val totalCount = leftCount + rightCount // If leaf n"

    Gaurav B. - "class TreeNode(var val: Int, var left: TreeNode? = null, var right: TreeNode? = null) fun isAverageOfDescendants(root: TreeNode?): Boolean { fun helper(node: TreeNode?): Triple { if (node == null) return Triple(0, 0, true) val (leftSum, leftCount, leftValid) = helper(node.left) val (rightSum, rightCount, rightValid) = helper(node.right) val totalSum = leftSum + rightSum val totalCount = leftCount + rightCount // If leaf n"See full answer

    Software Engineer
    Data Structures & Algorithms
    +1 more
  • "i responded using a multi sourced BFS and in place marking, then i checked the final grid to see if any free spots were left unmarked."

    Sh R. - "i responded using a multi sourced BFS and in place marking, then i checked the final grid to see if any free spots were left unmarked."See full answer

    Software Engineer
    Data Structures & Algorithms
    +1 more
  • +3

    "Assumptions and Clarifications! 1 . What is the aim? increase monetization or to just provide easy accessible food for customers 2.What are the supposed items to be available in the vending machines? 3.How many Vending Machines per hotel if more than 1 Can we add different items in the machines or are they supposed to be similar? 4.Which company is looking to Design this machine?Is it google? Or some other company? 5.These machines should they be available to paying guests or visitors or bot"

    Prabhav G. - "Assumptions and Clarifications! 1 . What is the aim? increase monetization or to just provide easy accessible food for customers 2.What are the supposed items to be available in the vending machines? 3.How many Vending Machines per hotel if more than 1 Can we add different items in the machines or are they supposed to be similar? 4.Which company is looking to Design this machine?Is it google? Or some other company? 5.These machines should they be available to paying guests or visitors or bot"See full answer

    Product Manager
    Product Design
    +1 more
  • +7

    "Clarifying question: may I assume that this would be for all new units that Roku would be selling? Ie. they wouldn't be sending new remotes to existing Roku customers? (assume interviewer agrees) Here's how I would approach this analysis: Identify purpose and value of this button for customers Identify the purpose and value for HBO/Max and Roku Posit: HBO should be willing to pay up to the value that HBO/Max gets minus potential discount by Roku for the value that Roku would get Pre"

    Anonymous Sparrow - "Clarifying question: may I assume that this would be for all new units that Roku would be selling? Ie. they wouldn't be sending new remotes to existing Roku customers? (assume interviewer agrees) Here's how I would approach this analysis: Identify purpose and value of this button for customers Identify the purpose and value for HBO/Max and Roku Posit: HBO should be willing to pay up to the value that HBO/Max gets minus potential discount by Roku for the value that Roku would get Pre"See full answer

    Product Manager
    Product Strategy
  • +8

    "Clarifying questions: What city/ country are we talking about? Indian metro. What all counts as a grocery store? Do have to cover dark stores as well which are not open to public? Only consider all grocery stores where public pick up is allowed. Do we have to include hyper markets/ super markets as well or only smaller stores? Include both. Okay, so I would be considering the Indian metro of Bangalore here. The overall equation is , **total number of grocery stores = Number of small grocer"

    Kartikeya N. - "Clarifying questions: What city/ country are we talking about? Indian metro. What all counts as a grocery store? Do have to cover dark stores as well which are not open to public? Only consider all grocery stores where public pick up is allowed. Do we have to include hyper markets/ super markets as well or only smaller stores? Include both. Okay, so I would be considering the Indian metro of Bangalore here. The overall equation is , **total number of grocery stores = Number of small grocer"See full answer

    Product Manager
    Estimation
Showing 361-380 of 4411