Interview Questions

Review this list of 4,138 interview questions and answers verified by hiring managers and candidates.
  • Goldman Sachs logoAsked at Goldman Sachs 
    +9

    "public static Integer[] findLargest(int[] input, int m) { if(input==null || input.length==0) return null; PriorityQueue minHeap=new PriorityQueue(); for(int i:input) { if(minHeap.size()(int)top){ minHeap.poll(); minHeap.add(i); } } } Integer[] res=minHeap.toArray(new Integer[0]); Arrays.sort(res); return res; }"

    Divya R. - "public static Integer[] findLargest(int[] input, int m) { if(input==null || input.length==0) return null; PriorityQueue minHeap=new PriorityQueue(); for(int i:input) { if(minHeap.size()(int)top){ minHeap.poll(); minHeap.add(i); } } } Integer[] res=minHeap.toArray(new Integer[0]); Arrays.sort(res); return res; }"See full answer

    Machine Learning Engineer
    Data Structures & Algorithms
    +2 more
  • Google logoAsked at Google 
    +1

    "Let me first ask some clarification questions / make assumptions: Any specific geographic region? => USA How do we measure bandwith? a. Bandwith is the maximum internet speed required for our google maps servers to support all google maps traffic in the USA. At which point do we measure bandwith? => at the “entrance” of each google server center Do we talk about maximum bandwith required? a. Yes, the maximum BB required to support google maps in the USA (on side of Google) Outline: O"

    Valentin B. - "Let me first ask some clarification questions / make assumptions: Any specific geographic region? => USA How do we measure bandwith? a. Bandwith is the maximum internet speed required for our google maps servers to support all google maps traffic in the USA. At which point do we measure bandwith? => at the “entrance” of each google server center Do we talk about maximum bandwith required? a. Yes, the maximum BB required to support google maps in the USA (on side of Google) Outline: O"See full answer

    Product Manager
    Estimation
  • " Communication between Mars and Earth is facilitated through various methods and technologies. The primary means of communication is through the use of space probes, particularly those equipped with powerful transmitters and receivers. Here's a general overview of how communication between Mars and Earth works: Deep Space Network (DSN): NASA operates the Deep Space Network, a global system of radio antennas located in California, Spain, and Australia. These antennas are responsible for sending"

    Anonymous Panda - " Communication between Mars and Earth is facilitated through various methods and technologies. The primary means of communication is through the use of space probes, particularly those equipped with powerful transmitters and receivers. Here's a general overview of how communication between Mars and Earth works: Deep Space Network (DSN): NASA operates the Deep Space Network, a global system of radio antennas located in California, Spain, and Australia. These antennas are responsible for sending"See full answer

    Technical
  • "/* You are with your friends in a castle, where there are multiple rooms named after flowers. Some of the rooms contain treasures - we call them the treasure rooms. Each room contains a single instruction that tells you which room to go to next. * instructions1 and treasurerooms_1 * lily* --------- daisy sunflower | | | v v v jasmin --> tulip* violet* ----> rose* --> ^ | ^ ^ | "

    Azeezat R. - "/* You are with your friends in a castle, where there are multiple rooms named after flowers. Some of the rooms contain treasures - we call them the treasure rooms. Each room contains a single instruction that tells you which room to go to next. * instructions1 and treasurerooms_1 * lily* --------- daisy sunflower | | | v v v jasmin --> tulip* violet* ----> rose* --> ^ | ^ ^ | "See full answer

    Software Engineer
    Coding
    +1 more
  • Meta (Facebook) logoAsked at Meta (Facebook) 
    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

    Engineering Manager
    System Design
    +3 more
  • 🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.

  • Amazon logoAsked at Amazon 

    "I will use the following approach for this situation: Understand Current Status of the Program: Program Goals, Schedule, How many teams, what are their deliverables, dependencies between teams Team level view of progress: Through tools like Burn down charts, Gantt charts etc. Identify laggards (lagging teams). Trend analysis for lagging teams: Understand at what point, the decline started. If the decline has started around same time, then following may be the potential issues: -"

    Saket S. - "I will use the following approach for this situation: Understand Current Status of the Program: Program Goals, Schedule, How many teams, what are their deliverables, dependencies between teams Team level view of progress: Through tools like Burn down charts, Gantt charts etc. Identify laggards (lagging teams). Trend analysis for lagging teams: Understand at what point, the decline started. If the decline has started around same time, then following may be the potential issues: -"See full answer

    Engineering Manager
    Program Sense
    +2 more
  • +5

    "Me: First, let's design our product and then we will calculate the estimated amount of units sold. Before we begin, is there anything specific about this refrigerator, is this a 'smart refrigerator'? Interviewer: Yes, you can consider this is a smart refrigerator but the overall design is up to you. Me: Thank you, one more question, do we have a specific user in mind? Younger people? Retirees? Interviewer: No, you can select the user base based on your prioritization, but theoretically it cou"

    Talles S. - "Me: First, let's design our product and then we will calculate the estimated amount of units sold. Before we begin, is there anything specific about this refrigerator, is this a 'smart refrigerator'? Interviewer: Yes, you can consider this is a smart refrigerator but the overall design is up to you. Me: Thank you, one more question, do we have a specific user in mind? Younger people? Retirees? Interviewer: No, you can select the user base based on your prioritization, but theoretically it cou"See full answer

    Product Design
    Estimation
    +1 more
  • HelloFresh logoAsked at HelloFresh 

    "Something not mentioned in my resume is my hobbies. I have a strong interest in analyzing situations, which I enjoy as a mental exercise. I'm also skilled at painting and have a passion for reading books, which helps me broaden my perspective."

    Manaswini D. - "Something not mentioned in my resume is my hobbies. I have a strong interest in analyzing situations, which I enjoy as a mental exercise. I'm also skilled at painting and have a passion for reading books, which helps me broaden my perspective."See full answer

    Data Analyst
    Behavioral
  • Amazon logoAsked at Amazon 
    +2

    "Situation: COVID has impacted everyone's lives, especially small businesses. Earlier this year, during the second lockdown in Malaysia, it was estimated that 50%-70% of small businesses have closed. It got me thinking, beyond the existing training programmes, what can my company do to support small businesses? Task: So, I took the initiative to gather our Comms and Government Affairs team, to work together and explore how we can: 1) meaningfully demonstrate our company's commitment in"

    Judy W. - "Situation: COVID has impacted everyone's lives, especially small businesses. Earlier this year, during the second lockdown in Malaysia, it was estimated that 50%-70% of small businesses have closed. It got me thinking, beyond the existing training programmes, what can my company do to support small businesses? Task: So, I took the initiative to gather our Comms and Government Affairs team, to work together and explore how we can: 1) meaningfully demonstrate our company's commitment in"See full answer

    Product Manager
    Behavioral
    +1 more
  • Amazon logoAsked at Amazon 

    "I had multiple RCA to complete and each one had a deadline but the process to complete them wasn't streamlined which cause some of them to miss SLA and point of contact felt frustrated as she has no information to give to customer. I received feedback that what blocked me to move forward on those and how can I do better next time?"

    Anjesh D. - "I had multiple RCA to complete and each one had a deadline but the process to complete them wasn't streamlined which cause some of them to miss SLA and point of contact felt frustrated as she has no information to give to customer. I received feedback that what blocked me to move forward on those and how can I do better next time?"See full answer

    Customer Success Manager
    Behavioral
  • 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
  • +1

    "let's say I'm working on a social media platform and considering implementing a new feature: "Reactions" to posts, similar to Facebook's reactions (like, love, haha, wow, sad, angry). Here's how I would conduct an A/B test for this feature: Define goals and Identify the feature: Goal is to increase user engagement and provide more nuanced ways for users to express their reactions to posts.The feature I want to test is the introduction of "Reactions" buttons alongside the traditional "Lik"

    Ankita S. - "let's say I'm working on a social media platform and considering implementing a new feature: "Reactions" to posts, similar to Facebook's reactions (like, love, haha, wow, sad, angry). Here's how I would conduct an A/B test for this feature: Define goals and Identify the feature: Goal is to increase user engagement and provide more nuanced ways for users to express their reactions to posts.The feature I want to test is the introduction of "Reactions" buttons alongside the traditional "Lik"See full answer

    Product Manager
    Technical
  • "Clarifying Questions: What are Discovery features on IG? My assumed answer: posts of followers you don’t already follow that you see on the Discovery tab of IG. The posts consist of video clips, IGTV posts, and pics. User can browse through endless scroll of posts, and can filter by category (e.g. sports, comedy, etc.) on the Discovery tab. Exclude IGTV and IG Shopping, which can also be accessed by Discovery tab, and just focus on Discovery of users you don’t already follow as"

    Arthur Y. - "Clarifying Questions: What are Discovery features on IG? My assumed answer: posts of followers you don’t already follow that you see on the Discovery tab of IG. The posts consist of video clips, IGTV posts, and pics. User can browse through endless scroll of posts, and can filter by category (e.g. sports, comedy, etc.) on the Discovery tab. Exclude IGTV and IG Shopping, which can also be accessed by Discovery tab, and just focus on Discovery of users you don’t already follow as"See full answer

    Product Manager
    Execution
    +1 more
  • "Clarifying questions What do we mean by bookings? Is it nights booked or transactions?: Nights booked Are there any constraints like platform or anything else while calculating the nights booked? : No If a user books a night but does not show up, do we still count him? : Yes If a user cancels before turning up, do we not count him? : Yes Expedia operates globally. Its major markets are Europe, USA, Asia, Africa etc. We will take the following high level approach **Total population →"

    Kartikeya N. - "Clarifying questions What do we mean by bookings? Is it nights booked or transactions?: Nights booked Are there any constraints like platform or anything else while calculating the nights booked? : No If a user books a night but does not show up, do we still count him? : Yes If a user cancels before turning up, do we not count him? : Yes Expedia operates globally. Its major markets are Europe, USA, Asia, Africa etc. We will take the following high level approach **Total population →"See full answer

    Product Manager
    Analytical
    +1 more
  • "How would you define success for Doordash Clarify- Are we looking at the US Market? Yes Are we we looking at it from today? Yes Are looking at mobile or web? Both Has anything changed in doordash;s strategy or marketplace I should be aware of? Nothing major Lets talk a little about the misssion of doordash. It probably goes something along the lines make food delivery as easy as possible. Their core product is three sided. You have drivers on one end, customers that order food on the other and"

    Pratik H. - "How would you define success for Doordash Clarify- Are we looking at the US Market? Yes Are we we looking at it from today? Yes Are looking at mobile or web? Both Has anything changed in doordash;s strategy or marketplace I should be aware of? Nothing major Lets talk a little about the misssion of doordash. It probably goes something along the lines make food delivery as easy as possible. Their core product is three sided. You have drivers on one end, customers that order food on the other and"See full answer

    Product Manager
    Analytical
  • "Clarifying questions / assumptions we are talking about a typical retail bank and not investments banks or other NBFCs The banking app covers the primary functions of a bank like money transfers, account management, savings etc. A typical bank has the following business functions: Giving loans (primary function to make money) Savings and other accounts Investments (like Fixed deposits of the bank and other government schemes) Pain points A bank had to deploy manpower to perform all"

    Rahul J. - "Clarifying questions / assumptions we are talking about a typical retail bank and not investments banks or other NBFCs The banking app covers the primary functions of a bank like money transfers, account management, savings etc. A typical bank has the following business functions: Giving loans (primary function to make money) Savings and other accounts Investments (like Fixed deposits of the bank and other government schemes) Pain points A bank had to deploy manpower to perform all"See full answer

    Product Manager
    Product Strategy
  • Twitter logoAsked at Twitter 
    Video answer for 'Design Twitter's API.'
    System Design
    Technical
  • +2

    "Statement: Improve the music experience at youtube Is the goal to improve the experience for any particular kind of user/music genre? Ans: No, nothing in particular Goal: I’m going to assume the goal is to improve the experience of listening to music generally Google’s mission is to organise the world’s information. Youtube is a platform that lets people discover videos, interesting content as tailored to their interests, thus serving Google’s mission Music on Youtube also contributes to"

    Pranav M. - "Statement: Improve the music experience at youtube Is the goal to improve the experience for any particular kind of user/music genre? Ans: No, nothing in particular Goal: I’m going to assume the goal is to improve the experience of listening to music generally Google’s mission is to organise the world’s information. Youtube is a platform that lets people discover videos, interesting content as tailored to their interests, thus serving Google’s mission Music on Youtube also contributes to"See full answer

    Product Design
  • Meta (Facebook) logoAsked at Meta (Facebook) 

    "Clarifying Questions: What's the goal of this feature? I am assuming the goal is to improve the experience. 2) Are we focused on any specific brand? Tesla, Waymo? - I am assuming in general 3) Market - US 4) For the purpose of this question, I am assuming elf-driving cars are fully safe/autonomous and doesn't need any attention from the users to reach from point A to B. Revised problem statement - Design a feature for self-driving cars to improve the experience. User-segments: People who use i"

    Ashvini B. - "Clarifying Questions: What's the goal of this feature? I am assuming the goal is to improve the experience. 2) Are we focused on any specific brand? Tesla, Waymo? - I am assuming in general 3) Market - US 4) For the purpose of this question, I am assuming elf-driving cars are fully safe/autonomous and doesn't need any attention from the users to reach from point A to B. Revised problem statement - Design a feature for self-driving cars to improve the experience. User-segments: People who use i"See full answer

    Product Designer
    Product Design
  • +21

    "SELECT pro.id, pro.title, pro.budget, COUNT(employeeid) AS numemployees, SUM(e.salary) as total_salaries FROM projects pro JOIN employeesprojects ep ON ep.projectid = pro.id JOIN employees e ON e.id = ep.employee_id GROUP BY project_id; `"

    Zacharias E. - "SELECT pro.id, pro.title, pro.budget, COUNT(employeeid) AS numemployees, SUM(e.salary) as total_salaries FROM projects pro JOIN employeesprojects ep ON ep.projectid = pro.id JOIN employees e ON e.id = ep.employee_id GROUP BY project_id; `"See full answer

    Coding
    SQL
Showing 1041-1060 of 4138