Skip to main content

Interview Questions

Review this list of 4,411 interview questions and answers verified by hiring managers and candidates.
  • "As a product manager in microsoft to support the customers I have to design a product. Let us take the E-Service as a name.In that we can see a form at first and after that a chat bot at the picture even there is a calling facility.Other queries done with the bot."

    Dheeraj sai P. - "As a product manager in microsoft to support the customers I have to design a product. Let us take the E-Service as a name.In that we can see a form at first and after that a chat bot at the picture even there is a calling facility.Other queries done with the bot."See full answer

    Product Manager
    Product Design
  • Apple logoAsked at Apple 
    +10

    "class ListNode: def init(self, val=0, next=None): self.val = val self.next = next def has_cycle(head: ListNode) -> bool: slow, fast = head, head while fast and fast.next: slow = slow.next fast = fast.next.next if slow == fast: return True return False debug your code below node1 = ListNode(1) node2 = ListNode(2) node3 = ListNode(3) node4 = ListNode(4) creates a linked list with a cycle: 1 -> 2 -> 3 -> 4"

    Anonymous Roadrunner - "class ListNode: def init(self, val=0, next=None): self.val = val self.next = next def has_cycle(head: ListNode) -> bool: slow, fast = head, head while fast and fast.next: slow = slow.next fast = fast.next.next if slow == fast: return True return False debug your code below node1 = ListNode(1) node2 = ListNode(2) node3 = ListNode(3) node4 = ListNode(4) creates a linked list with a cycle: 1 -> 2 -> 3 -> 4"See full answer

    Software Engineer
    Data Structures & Algorithms
    +4 more
  • Software Engineer
    Behavioral
  • +19

    " from typing import Dict, List, Optional def max_profit(prices: Dict[str, int]) -> Optional[List[str]]: pass # your code goes here max = [None, 0] min = [None, float("inf")] for city, price in prices.items(): if price > max[1]: max[0], max[1] = city, price if price 0: return [min[0], max[0]] return None debug your code below prices = {'"

    Rick E. - " from typing import Dict, List, Optional def max_profit(prices: Dict[str, int]) -> Optional[List[str]]: pass # your code goes here max = [None, 0] min = [None, float("inf")] for city, price in prices.items(): if price > max[1]: max[0], max[1] = city, price if price 0: return [min[0], max[0]] return None debug your code below prices = {'"See full answer

    Data Structures & Algorithms
    Coding
  • Product Manager
    Product Design
    +1 more
  • 🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.

  • +18

    "The unique id is not clear in this question"

    Anonymous Possum - "The unique id is not clear in this question"See full answer

    Coding
    SQL
  • Goldman Sachs logoAsked at Goldman Sachs 

    "Microservices for resolving diffs, storage S3 for keeping files"

    Anonymous Jellyfish - "Microservices for resolving diffs, storage S3 for keeping files"See full answer

    Software Engineer
    System Design
  • "To measure the success of the WhatsApp engagement and retention is crucial along with monitiozation. So, i will make sure following metrics:** Daily Active Users (DAU) and Monthly Active Users (MAU): DAU and MAU are critical metrics for understanding the scale and engagement level of the user base. A healthy ratio between DAU and MAU (known as stickiness) indicates strong user retention and habitual use. Message Sent/Received Volume: The volume of messages sent and received is a d"

    Bhuppi S. - "To measure the success of the WhatsApp engagement and retention is crucial along with monitiozation. So, i will make sure following metrics:** Daily Active Users (DAU) and Monthly Active Users (MAU): DAU and MAU are critical metrics for understanding the scale and engagement level of the user base. A healthy ratio between DAU and MAU (known as stickiness) indicates strong user retention and habitual use. Message Sent/Received Volume: The volume of messages sent and received is a d"See full answer

    Product Manager
    Analytical
  • "I've watched all the ML Systems designs interviews and this solution provides a clean baseline for predicting ETA using historical averages, but it falls short of addressing the broader problem of route planning. The system predicts ETA for a given segment and time interval, but it doesn’t explain how to compute the ETA for an entire route or how to integrate this into dynamic path selection. It also lacks depth on handling real-time data, adapting to distribution shift, or reacting to sudden"

    Clayton P. - "I've watched all the ML Systems designs interviews and this solution provides a clean baseline for predicting ETA using historical averages, but it falls short of addressing the broader problem of route planning. The system predicts ETA for a given segment and time interval, but it doesn’t explain how to compute the ETA for an entire route or how to integrate this into dynamic path selection. It also lacks depth on handling real-time data, adapting to distribution shift, or reacting to sudden"See full answer

    Machine Learning
    System Design
  • "Let's split the experience in four parts: Time between order is placed and order is waiting to be prepped by the shopper. Time between order is prepped by the shopper and ready to be picked by the driver. Time when it's out for delivery. Post delivery experience. Now lets think through what can do wrong? How do we define wrong? A wrong would be anything where a customer has a negative experience. Let's dive into the when things could potentially go wrong. **order is placed and"

    Pree M. - "Let's split the experience in four parts: Time between order is placed and order is waiting to be prepped by the shopper. Time between order is prepped by the shopper and ready to be picked by the driver. Time when it's out for delivery. Post delivery experience. Now lets think through what can do wrong? How do we define wrong? A wrong would be anything where a customer has a negative experience. Let's dive into the when things could potentially go wrong. **order is placed and"See full answer

    Product Manager
    Analytical
    +2 more
  • Data Scientist
    Analytical
    +1 more
  • Meta logoAsked at Meta 

    "Clarifying Question: Are we talking about mission-oriented success or business-oriented success? [Let's assume mission-oriented] Let's start by talking about where Pages fit into the mission of Facebook. Then we'll cover some relevant metrics, identify which are most important for measuring the success of Pages, and then talk about some trade-offs as part of a final recommendation. Mission: Facebook's mission is to empower people to build community and to bring people closer togeth"

    Ian S. - "Clarifying Question: Are we talking about mission-oriented success or business-oriented success? [Let's assume mission-oriented] Let's start by talking about where Pages fit into the mission of Facebook. Then we'll cover some relevant metrics, identify which are most important for measuring the success of Pages, and then talk about some trade-offs as part of a final recommendation. Mission: Facebook's mission is to empower people to build community and to bring people closer togeth"See full answer

    Analytical
    Execution
    +1 more
  • "Structure: 1. Ask Clarifying Questions 2. Look at external factors 3. Look at Internal factors ( Slice the data aross different cuts and plan accordingly) Clarifying Questions: What's an outbound message? Is it something Linkedin users send among each other? Decline trends: Is the decline steep or gradual? From when, are we seeing this decline (Say since a week, fortnight, month, etc) External Factors: Have we seen any competition led changes/ new campaigns etc? Have we see"

    Meenakshi sundaram M. - "Structure: 1. Ask Clarifying Questions 2. Look at external factors 3. Look at Internal factors ( Slice the data aross different cuts and plan accordingly) Clarifying Questions: What's an outbound message? Is it something Linkedin users send among each other? Decline trends: Is the decline steep or gradual? From when, are we seeing this decline (Say since a week, fortnight, month, etc) External Factors: Have we seen any competition led changes/ new campaigns etc? Have we see"See full answer

    Analytical
    Behavioral
    +1 more
  • Meta logoAsked at Meta 

    "Understand gaps team by interviewing on 1:1, reading past performance reviews and talking to old managers/cross functional Identify Goals and use the SMART framework to set those goals (Specific, Measurable, Attainable, relevant, time related) Share with team and make sure they understand them. Clarify questions if needed. Explain WHY these goals matter. Tie to company goals/mission/culture. Put together an action plan TOGETHER- give often feedback: "pinches no punches"

    Chantal C. - "Understand gaps team by interviewing on 1:1, reading past performance reviews and talking to old managers/cross functional Identify Goals and use the SMART framework to set those goals (Specific, Measurable, Attainable, relevant, time related) Share with team and make sure they understand them. Clarify questions if needed. Explain WHY these goals matter. Tie to company goals/mission/culture. Put together an action plan TOGETHER- give often feedback: "pinches no punches"See full answer

    Engineering Manager
    Behavioral
    +1 more
  • Google logoAsked at Google 
    +2

    "Asked clarifying questions to know if this was a program already in existence, how long the problem had been, causes and how the problem was brought to attention. Using that information, went through a framework (provided generally below): Making sure to review documentation/existing contracts/vendors/plans. Review budget and timeline for the program. Review resources available. Review the data (or gather) and the scope of the project (city center, suburbs, few blocks, whole city, etc). Set mee"

    Anthony F. - "Asked clarifying questions to know if this was a program already in existence, how long the problem had been, causes and how the problem was brought to attention. Using that information, went through a framework (provided generally below): Making sure to review documentation/existing contracts/vendors/plans. Review budget and timeline for the program. Review resources available. Review the data (or gather) and the scope of the project (city center, suburbs, few blocks, whole city, etc). Set mee"See full answer

    Technical Program Manager
    Analytical
    +2 more
  • DoorDash logoAsked at DoorDash 

    "Clarification Question: What kind of revenue is Target trying to increase? ( Gross Revenue, Net Revenue .. etc ) Answer: Let's stick to Gross revenue. As I understand, the target has two revenue streams - In-store and online purchases. Are there any other revenue streams I should consider? Answer: No Why Now ?. Answer: we have seen our revenue being impacted due to competition from Amazon and Walmart, and our revenue is flat. Which revenue stream do you see a decline, increase, or flat?"

    Navin T. - "Clarification Question: What kind of revenue is Target trying to increase? ( Gross Revenue, Net Revenue .. etc ) Answer: Let's stick to Gross revenue. As I understand, the target has two revenue streams - In-store and online purchases. Are there any other revenue streams I should consider? Answer: No Why Now ?. Answer: we have seen our revenue being impacted due to competition from Amazon and Walmart, and our revenue is flat. Which revenue stream do you see a decline, increase, or flat?"See full answer

    Product Manager
    Product Strategy
  • Meta logoAsked at Meta 
    +1

    " import lombok.*; import lombok.extern.slf4j.Slf4j; import org.springframework.boot.CommandLineRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.stereotype.Component; import org.springframework.stereotype.Repository; import org.springframework.stereotype.Service; import java.util.*; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; import java."

    Yash G. - " import lombok.*; import lombok.extern.slf4j.Slf4j; import org.springframework.boot.CommandLineRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.stereotype.Component; import org.springframework.stereotype.Repository; import org.springframework.stereotype.Service; import java.util.*; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; import java."See full answer

    Engineering Manager
    System Design
    +2 more
  • Machine Learning
    System Design
  • OpenAI logoAsked at OpenAI 
    Software Engineer
    Coding
Showing 1261-1280 of 4411