Skip to main content

Interview Questions

Review this list of 4,603 interview questions and answers verified by hiring managers and candidates.
  • 61 answers
    +52

    "#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
  • 69 answers
    +63

    "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
  • "Before proceeding, I just wanted to clarify we wanted to check for the impact of showing content from non-friends in users’ feeds, and here non-friends I would assume could be anyone, but mainly like content creators, and I am not including ads here. But I wanted to ask if there is any current logic as to what posts to show based on users' affinity to those posts, maybe basis the user engagement to Insta feed. now objective of this would be to improve the engagement of the platform, as if users"

    Dhruv S. - "Before proceeding, I just wanted to clarify we wanted to check for the impact of showing content from non-friends in users’ feeds, and here non-friends I would assume could be anyone, but mainly like content creators, and I am not including ads here. But I wanted to ask if there is any current logic as to what posts to show based on users' affinity to those posts, maybe basis the user engagement to Insta feed. now objective of this would be to improve the engagement of the platform, as if users"See full answer

    Data Scientist
    Statistics & Experimentation
  • Twitter logoAsked at Twitter 
    2 answers
    Video answer for 'How do you typically structure one-on-one meetings?'

    "Notes from the Video. 1-1s are two way feedback. Important tool to discuss things that are not possible in group setting feedback to employee by manager feedback to manager by employee Feedback to employee can vary by the type of performer the employee is (a) high performer (b) meets expectations (c) under performing Dos and Don't Avoid project discussion as they can be obtained else where. Focus on feedback to employee. Unless there is a critical project item to be d"

    Adib M. - "Notes from the Video. 1-1s are two way feedback. Important tool to discuss things that are not possible in group setting feedback to employee by manager feedback to manager by employee Feedback to employee can vary by the type of performer the employee is (a) high performer (b) meets expectations (c) under performing Dos and Don't Avoid project discussion as they can be obtained else where. Focus on feedback to employee. Unless there is a critical project item to be d"See full answer

    Engineering Manager
    Behavioral
  • Google logoAsked at Google 
    6 answers
    +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
  • 🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.

  • Anthropic logoAsked at Anthropic 
    4 answers
    +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
    +4 more
  • "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
  • Meta logoAsked at Meta 
    5 answers
    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
  • Anthropic logoAsked at Anthropic 
    Add answer
    Software Engineer
    Coding
  • Amazon logoAsked at Amazon 
    2 answers

    "At RTI while working on content-based recommender system on our ecommerce site, we received request from one of our distributor clients to make the system not only suggest products based on their purchasing history but also exclusively push higher priced items, regardless of their actual needs or demand patterns, it was challenging situation because it contradicted the primary purpose of our system, which was value based, patient centric product recommendations. To understand in this situation i"

    Vihari K. - "At RTI while working on content-based recommender system on our ecommerce site, we received request from one of our distributor clients to make the system not only suggest products based on their purchasing history but also exclusively push higher priced items, regardless of their actual needs or demand patterns, it was challenging situation because it contradicted the primary purpose of our system, which was value based, patient centric product recommendations. To understand in this situation i"See full answer

    Product Manager
    Behavioral
  • Anthropic logoAsked at Anthropic 
    Add answer
    Product Manager
    Artificial Intelligence
    +4 more
  • Google logoAsked at Google 

    Tree Node.

    IDE
    Easy
    26 answers
    Video answer for 'Tree Node.'
    +22

    "-- Write your query here select id, (case when p_id is null then 'Root' when pid in (select id from treenode_table) and id in (select pid from treenode_table) then 'Inner' else 'Leaf' end) as node_types from treenodetable order by 1; `"

    Anonymous Roadrunner - "-- Write your query here select id, (case when p_id is null then 'Root' when pid in (select id from treenode_table) and id in (select pid from treenode_table) then 'Inner' else 'Leaf' end) as node_types from treenodetable order by 1; `"See full answer

    Software Engineer
    Coding
    +1 more
  • Product Manager
    Analytical
    +1 more
  • Anthropic logoAsked at Anthropic 
    Add answer
    Software Engineer
    Artificial Intelligence
    +1 more
  • Google logoAsked at Google 
    4 answers
    +1

    "I most want to communicate a few principals of conflict resolution that I believe were integral in this situation, which are mutual respect, a results orientation, an unwavering focus on the user. To that end, here’s how I’d like to structure this answer: First, I’ll tell you about the project we were working on, to provide some background for you. Second, I’ll describe the disagreement. Third, I’ll describe how we arrived at a solution, and finally, I’ll discuss how those 3 conflict resolu"

    Ross B. - "I most want to communicate a few principals of conflict resolution that I believe were integral in this situation, which are mutual respect, a results orientation, an unwavering focus on the user. To that end, here’s how I’d like to structure this answer: First, I’ll tell you about the project we were working on, to provide some background for you. Second, I’ll describe the disagreement. Third, I’ll describe how we arrived at a solution, and finally, I’ll discuss how those 3 conflict resolu"See full answer

    Product Manager
    Artificial Intelligence
    +4 more
  • Product Manager
    Machine Learning
    +1 more
  • Google logoAsked at Google 
    Add answer
    Product Manager
    Behavioral
  • Visa logoAsked at Visa 
    3 answers

    "I generally struggle with stakeholders and partners who doesn't communicate enough. Now it could be either they don't invest sufficient time and energy in doing so or at times they lack the skill sets to do so. In both the cases, the entire responsibility fell on the other person to dig deep into why someone is doing the way they are doing, reading into patterns and behaviour of their personality and adapting to those communication styles"

    Lati K. - "I generally struggle with stakeholders and partners who doesn't communicate enough. Now it could be either they don't invest sufficient time and energy in doing so or at times they lack the skill sets to do so. In both the cases, the entire responsibility fell on the other person to dig deep into why someone is doing the way they are doing, reading into patterns and behaviour of their personality and adapting to those communication styles"See full answer

    Software Engineer
    Behavioral
    +2 more
  • Add answer
    Product Manager
    Product Design
  • Google logoAsked at Google 
    5 answers
    +2

    "Restaurant Types High-end Fast-food Regular User Types Restaurants – seeking operational efficiency and increased revenue. Customers – categorized by group size and dining intent: 2–4 Friends/Family – casual dining. Solo Diners – convenience and quick service. Groups > 4 – shared orders and split bills. Goal Design a tablet solution to achieve product-market fit by addressing key pain points and driving high ad"

    Brandy L. - "Restaurant Types High-end Fast-food Regular User Types Restaurants – seeking operational efficiency and increased revenue. Customers – categorized by group size and dining intent: 2–4 Friends/Family – casual dining. Solo Diners – convenience and quick service. Groups > 4 – shared orders and split bills. Goal Design a tablet solution to achieve product-market fit by addressing key pain points and driving high ad"See full answer

    Product Manager
    Product Design
Showing 341-360 of 4603
Exponent

Get updates in your inbox with the latest tips, job listings, and more.

Follow Us

Products
Courses
Interview Questions
Interview Experiences
Popular articles
Guides
Coaching
For Partners
Company
Exponent © 2026
Terms of Service | Privacy