Interview Questions

Review this list of 343 interview questions and answers verified by hiring managers and candidates.
  • System Design
    Machine Learning
  • Canva logoAsked at Canva 
    Video answer for 'Design a key-value store.'

    "Simple file system ( Hash Map , LSM trees), and consistent hashing. I failed to discuss about conflicts ( Versioning)"

    V V. - "Simple file system ( Hash Map , LSM trees), and consistent hashing. I failed to discuss about conflicts ( Versioning)"See full answer

    Software Engineer
    System Design
    +2 more
  • "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

    System Design
    Machine Learning
  • "Any answer after this video won't compare. Not an expert. With that caveat out of the way, here is my answer I'd break this work into different phases = Discovery Phase, Planning Phase, Execution Phase, Monitoring phase, Ongoing Discovery : How many Products does this enterprise have? Are we talking about internally developed Products that we sell in the market place? or also third party Products that our enterprise has purchased for internal use? Should we include Operating Systems, net"

    Adib M. - "Any answer after this video won't compare. Not an expert. With that caveat out of the way, here is my answer I'd break this work into different phases = Discovery Phase, Planning Phase, Execution Phase, Monitoring phase, Ongoing Discovery : How many Products does this enterprise have? Are we talking about internally developed Products that we sell in the market place? or also third party Products that our enterprise has purchased for internal use? Should we include Operating Systems, net"See full answer

    Program Sense
  • Google logoAsked at Google 
    Video answer for 'Design a high-tech gym.'
    +1

    "[2:53 pm, 02/12/2021] Mayank: Before we deep dive into brainstorming the solution I go ahead and make few assumptions for clarifying questions: Step-1- Framing a problem 🎯Why users go to gym? To relieve stress by doing exercise To maintain their body To reduce their weight To remain active To make good physique 🎯Who goes to gym? Couples Group of friends Individuals Here we are trying to design high tech gym so it means we are looking to create good experience-and"

    Mayank S. - "[2:53 pm, 02/12/2021] Mayank: Before we deep dive into brainstorming the solution I go ahead and make few assumptions for clarifying questions: Step-1- Framing a problem 🎯Why users go to gym? To relieve stress by doing exercise To maintain their body To reduce their weight To remain active To make good physique 🎯Who goes to gym? Couples Group of friends Individuals Here we are trying to design high tech gym so it means we are looking to create good experience-and"See full answer

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

  • Google logoAsked at Google 
    Video answer for 'Write functions to serialize and deserialize a list of strings.'
    +4

    "Maybe we can use this solution: 1, connect all the strings together, and add an integer value ahead each string. 2, use Huffmans algorithm to encode the step 1 result, to make the result size smaller. 3, return the root of Huffmans tree. This solution man be slower than the common serialize method, but it can save a lot of memory, I think, at lease doing serialize is mainly for tranfering data or storing data."

    Jordan Z. - "Maybe we can use this solution: 1, connect all the strings together, and add an integer value ahead each string. 2, use Huffmans algorithm to encode the step 1 result, to make the result size smaller. 3, return the root of Huffmans tree. This solution man be slower than the common serialize method, but it can save a lot of memory, I think, at lease doing serialize is mainly for tranfering data or storing data."See full answer

    Software Engineer
    Coding
    +1 more
  • "Clarification: Why South Korea and why Google has expanded their yet. I know there are some government security concerns which have bene in place but how is this integration going to expand Is this something like Google Maps itself or is it tailored to particular needs or region Google Mission & Why we want to expand? Google mission is to organize world's information and make it universally available. The Google Map in South Korea aligns with this as it will help people navigate through t"

    Charmi S. - "Clarification: Why South Korea and why Google has expanded their yet. I know there are some government security concerns which have bene in place but how is this integration going to expand Is this something like Google Maps itself or is it tailored to particular needs or region Google Mission & Why we want to expand? Google mission is to organize world's information and make it universally available. The Google Map in South Korea aligns with this as it will help people navigate through t"See full answer

    Product Manager
    Product Strategy
  • +21

    "A YoY decline in conversion actually seems like it's not that unexpected of a finding but I think you'd need to know how Nike operates. They regularly release sneakers that are limited edition, highly-sought-after, and are sold out within seconds of release. So there are probably a lot of people who are able to add items to their cart, only to find out that the items are actually sold out before they are able to complete the sale. If that were the root cause in this question, I'm curious if ther"

    Spencer W. - "A YoY decline in conversion actually seems like it's not that unexpected of a finding but I think you'd need to know how Nike operates. They regularly release sneakers that are limited edition, highly-sought-after, and are sold out within seconds of release. So there are probably a lot of people who are able to add items to their cart, only to find out that the items are actually sold out before they are able to complete the sale. If that were the root cause in this question, I'm curious if ther"See full answer

    Execution
    Analytical
  • Microsoft logoAsked at Microsoft 
    Video answer for 'How do you select the value of 'k' in the k-means algorithm?'
    +1

    "As an interviewer, I have asked this question to candidates in the past. Here are the major topics I am looking for in an interview The candidate should understand that there are ways of measuring the loss of a particular clustering. For example, we can take the average distance of each point to it's cluster center. The candidate should understand that this loss will always decrease as the number of clusters increases. For that reason, we can't just pick the value of K that minimizes the l"

    Michael F. - "As an interviewer, I have asked this question to candidates in the past. Here are the major topics I am looking for in an interview The candidate should understand that there are ways of measuring the loss of a particular clustering. For example, we can take the average distance of each point to it's cluster center. The candidate should understand that this loss will always decrease as the number of clusters increases. For that reason, we can't just pick the value of K that minimizes the l"See full answer

    Machine Learning Engineer
    Concept
    +1 more
  • TikTok logoAsked at TikTok 
    Video answer for 'Split an array into equal sum subarrays'
    Data Engineer
    Data Structures & Algorithms
    +1 more
  • Microsoft logoAsked at Microsoft 
    Video answer for 'How would you improve the experience of moving to a new city?'
    +1

    " I would ask some clarifying questions to refine my objective and know about our users? What do you mean by experience? Travel, food, short stay, long stay, dating, event, work, airport, registration? - Improve Food, Travel, Event experience, which can be a short or long stay. What do you mean by the movement to a new city? International travel/ within a specific country (designing solution for any country?) or any geography? - within a country suppose India What is our business objecti"

    Ajinkya P. - " I would ask some clarifying questions to refine my objective and know about our users? What do you mean by experience? Travel, food, short stay, long stay, dating, event, work, airport, registration? - Improve Food, Travel, Event experience, which can be a short or long stay. What do you mean by the movement to a new city? International travel/ within a specific country (designing solution for any country?) or any geography? - within a country suppose India What is our business objecti"See full answer

    Product Design
    Analytical
    +1 more
  • "P(A) = 0.6 P(B) = 0.4 P(D|A) = 0.05 P(D|B) = 0.03 Question asks to solve for P(A|D) P(A|D) = (P(D|A) x P(A))/P(D) = (0.05 x 0.6)/(P(D|A) x P(A) + P(D|B) x P(B)) = (0.05 x 0.6)/(0.05 x 0.6+0.03 x 0.4) = 30/42 = 5/7 = 0.714 Notice above that P(D) = P(D|A) x P(A) + P(D|B) x P (B)"

    Saurabh K. - "P(A) = 0.6 P(B) = 0.4 P(D|A) = 0.05 P(D|B) = 0.03 Question asks to solve for P(A|D) P(A|D) = (P(D|A) x P(A))/P(D) = (0.05 x 0.6)/(P(D|A) x P(A) + P(D|B) x P(B)) = (0.05 x 0.6)/(0.05 x 0.6+0.03 x 0.4) = 30/42 = 5/7 = 0.714 Notice above that P(D) = P(D|A) x P(A) + P(D|B) x P (B)"See full answer

    Statistics & Experimentation
  • "Outliers are data points that significantly deviate from the majority of the data distribution. They can arise due to various reasons, such as measurement errors, natural variability, or rare events. Outliers can distort statistical analyses and machine learning models, making it crucial to detect and handle them properly."

    Cesar F. - "Outliers are data points that significantly deviate from the majority of the data distribution. They can arise due to various reasons, such as measurement errors, natural variability, or rare events. Outliers can distort statistical analyses and machine learning models, making it crucial to detect and handle them properly."See full answer

    Statistics & Experimentation
  • Google logoAsked at Google 
    Video answer for 'How would you improve Google Drive?'

    "User Persona Individual heavy Users Casual users Enterprise Users Occasional Users I would like to think more about the Enterprise users, because they are the power users and the maximum revenue of the Google may come up with the enterprise solutions. It is my hypothesis that despite of improvement of the Google drive, common individual users are highly unlikely to use the premium version of the G Suite User Journey of the person using Google Drive Want to work on the new document"

    Anonymous Muskox - "User Persona Individual heavy Users Casual users Enterprise Users Occasional Users I would like to think more about the Enterprise users, because they are the power users and the maximum revenue of the Google may come up with the enterprise solutions. It is my hypothesis that despite of improvement of the Google drive, common individual users are highly unlikely to use the premium version of the G Suite User Journey of the person using Google Drive Want to work on the new document"See full answer

    Product Manager
    Product Design
  • Amazon logoAsked at Amazon 
    Video answer for 'Implement k-means clustering.'

    "i dont know"

    Dinesh K. - "i dont know"See full answer

    Machine Learning Engineer
    Coding
    +5 more
  • Data Scientist
    Data Analysis
  • Adobe logoAsked at Adobe 
    Video answer for 'Product of Array Except Self'
    +41

    "If 0's aren't a concern, couldn't we just multiply all numbers. and then divide product by each number in the list ? if there's more than one zero, then we just return an array of 0s if there's one zero, then we just replace 0 with product and rest 0s. what am i missing?"

    Sachin R. - "If 0's aren't a concern, couldn't we just multiply all numbers. and then divide product by each number in the list ? if there's more than one zero, then we just return an array of 0s if there's one zero, then we just replace 0 with product and rest 0s. what am i missing?"See full answer

    Software Engineer
    Data Structures & Algorithms
    +3 more
  • Discord logoAsked at Discord 
    Video answer for 'What are the most important engineering manager skills?'

    "Engineering Managers (EMs) juggle multiple responsibilities, which can vary significantly depending on the company, team, and organizational needs. One of the most critical skills for an EM is strategic thinking. This includes setting a clear vision for the team, participating in roadmap planning meetings, and crafting actionable roadmaps to guide the team toward its goals. In addition to strategic thinking, an EM must excel in three key areas: People Management: This involves ensuring te"

    Pramod S. - "Engineering Managers (EMs) juggle multiple responsibilities, which can vary significantly depending on the company, team, and organizational needs. One of the most critical skills for an EM is strategic thinking. This includes setting a clear vision for the team, participating in roadmap planning meetings, and crafting actionable roadmaps to guide the team toward its goals. In addition to strategic thinking, an EM must excel in three key areas: People Management: This involves ensuring te"See full answer

    Engineering Manager
    Behavioral
  • Statistics & Experimentation
Showing 201-220 of 343