Skip to main content

Interview Questions

Review this list of 4,415 interview questions and answers verified by hiring managers and candidates.
  • +15

    "import pandas as pd def lowestearningemployees(employees: pd.DataFrame) -> pd.DataFrame: your code goes here employees = employees.sort_values(by='salary', ascending=True) df = employees.drop(columns = ['department_id']) return df.head(3) debug your code below employees = pd.DataFrame({ 'id': [1, 2, 3, 4, 5, 6], 'first_name': ['John', 'Ava', 'Cailin', 'Mike', 'Ian', 'John'], 'last_name': ['Smith', 'Muffinson', 'Ninson', 'Peterson', 'Peterson', 'Mills"

    Pujitha G. - "import pandas as pd def lowestearningemployees(employees: pd.DataFrame) -> pd.DataFrame: your code goes here employees = employees.sort_values(by='salary', ascending=True) df = employees.drop(columns = ['department_id']) return df.head(3) debug your code below employees = pd.DataFrame({ 'id': [1, 2, 3, 4, 5, 6], 'first_name': ['John', 'Ava', 'Cailin', 'Mike', 'Ian', 'John'], 'last_name': ['Smith', 'Muffinson', 'Ninson', 'Peterson', 'Peterson', 'Mills"See full answer

    Coding
    Data Analysis
  • +3

    "Me: That's an interesting challenge. I would like to get some clarifications before jumping into potential solutions. Are we talking about the global search market irrespective of device or are we talking about a specific geography / device type? Interviewer: Lets go ahead with all possible searches. Me: Ok. Is there a specific reason we want to capture a significant market share from Google (e.g. higher search revenue, cross-selling MSFT services etc.) and are there any timelines we should k"

    Harsh W. - "Me: That's an interesting challenge. I would like to get some clarifications before jumping into potential solutions. Are we talking about the global search market irrespective of device or are we talking about a specific geography / device type? Interviewer: Lets go ahead with all possible searches. Me: Ok. Is there a specific reason we want to capture a significant market share from Google (e.g. higher search revenue, cross-selling MSFT services etc.) and are there any timelines we should k"See full answer

    Analytical
    Execution
    +1 more
  • "Currently, I work in banking fraud detection. Recently, my teammate and myself were asked to assist the Check Deposits team in enhancing their fraud detection ML solution by evaluating new data sources and eliminating past data sources for possible lift. We retrieved data from Hadoop and Netezza databases including deposit transaction data, mobile & computer device, authentication logs, account balance, and customer demographic data. We then created new and recreated old features including tem"

    Dr. chantel P. - "Currently, I work in banking fraud detection. Recently, my teammate and myself were asked to assist the Check Deposits team in enhancing their fraud detection ML solution by evaluating new data sources and eliminating past data sources for possible lift. We retrieved data from Hadoop and Netezza databases including deposit transaction data, mobile & computer device, authentication logs, account balance, and customer demographic data. We then created new and recreated old features including tem"See full answer

    BizOps & Strategy
    Data Analysis
  • Microsoft logoAsked at Microsoft 
    Video answer for 'How do you select the value of 'k' in the k-means algorithm?'
    +2

    "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
  • Google logoAsked at Google 
    +1

    "wasn't aware of ticketmaster thus asked time from interviewer to glance through the portal, also cross-checked any other value prop from the interviewer that i couldn't infer from website, for ex. providing assurance of confirmed tickets. clarifying questions - who am i? do we want to partner with another player or provide services on our own? any specific goal - monetization, engagement, retention etc. in mind? any particular geo? "

    coolkid1 - "wasn't aware of ticketmaster thus asked time from interviewer to glance through the portal, also cross-checked any other value prop from the interviewer that i couldn't infer from website, for ex. providing assurance of confirmed tickets. clarifying questions - who am i? do we want to partner with another player or provide services on our own? any specific goal - monetization, engagement, retention etc. in mind? any particular geo? "See full answer

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

  • Adobe logoAsked at Adobe 
    Video answer for 'Find the median of two sorted arrays.'
    Software Engineer
    Data Structures & Algorithms
    +4 more
  • "Great question! Before communicating any major change, I would ensure I have a deep understanding of the strategic shift, its rationale, and its implications. This involves meeting with senior management to gather all necessary details and preparing to address any questions or concerns from the team. To share a recent experience I had, so Last year, our senior management decided to shift our focus towards leveraging machine learning and advanced real-time analytics to enhance our trading stra"

    Scott S. - "Great question! Before communicating any major change, I would ensure I have a deep understanding of the strategic shift, its rationale, and its implications. This involves meeting with senior management to gather all necessary details and preparing to address any questions or concerns from the team. To share a recent experience I had, so Last year, our senior management decided to shift our focus towards leveraging machine learning and advanced real-time analytics to enhance our trading stra"See full answer

    Engineering Manager
    Behavioral
  • "Question: If Meta Pay did not exist, would you recommend that Meta develop its own payment solution internally or seek a partnership? Justify your decision. Answer: Given Meta's position as a leading technology company with a vast ecosystem of applications and services, I would recommend that Meta develop its own payment solution internally. My decision is based on several key factors: Strategic Control and Flexibility Developing an internal payment solution would gran"

    Inae L. - "Question: If Meta Pay did not exist, would you recommend that Meta develop its own payment solution internally or seek a partnership? Justify your decision. Answer: Given Meta's position as a leading technology company with a vast ecosystem of applications and services, I would recommend that Meta develop its own payment solution internally. My decision is based on several key factors: Strategic Control and Flexibility Developing an internal payment solution would gran"See full answer

    Product Manager
    Product Strategy
  • Amazon logoAsked at Amazon 
    Video answer for 'Design a URL shortener.'
    +19

    "I studied Exponent's TinyURL system design video. My interviewer was asking many detailed questions on API design, schema, as well as data required to store. I found system design questions are bit high level instead of depth. I think should have detail design of API, schema and some additional flavors."

    Yag S. - "I studied Exponent's TinyURL system design video. My interviewer was asking many detailed questions on API design, schema, as well as data required to store. I found system design questions are bit high level instead of depth. I think should have detail design of API, schema and some additional flavors."See full answer

    Engineering Manager
    System Design
    +1 more
  • +11

    "There are number of ways where an app could lose users. I would try and speak with the following teams to figure out the issue. Data Team - I'd ask data team to see if there are any drops in the existing game funnels. There could have been an issue in game design. Potentially players could have gotten stuck on a super hard level and left or flew through a puzzle that was too easy, and also left. Essentially, figuring out the progression curve of the game, which often times can lead to play"

    Rustam - "There are number of ways where an app could lose users. I would try and speak with the following teams to figure out the issue. Data Team - I'd ask data team to see if there are any drops in the existing game funnels. There could have been an issue in game design. Potentially players could have gotten stuck on a super hard level and left or flew through a puzzle that was too easy, and also left. Essentially, figuring out the progression curve of the game, which often times can lead to play"See full answer

    Analytical
    Execution
  • "Went through scenarios where a user Interviewer asked me to select a scenario, mostly outside of the control of the app. The interviewer saw me rattled and suggested the need to get to a venue as an experience. I designed a solution and suggested an MVP. The goal was to select a scenario, design MVP and suggest user journey/cohort selection and demonstrate measurement."

    Bharat D. - "Went through scenarios where a user Interviewer asked me to select a scenario, mostly outside of the control of the app. The interviewer saw me rattled and suggested the need to get to a venue as an experience. I designed a solution and suggested an MVP. The goal was to select a scenario, design MVP and suggest user journey/cohort selection and demonstrate measurement."See full answer

    Product Manager
    Product Design
  • Engineering Manager
    People Management
  • Accenture logoAsked at Accenture 
    +2

    "/my initial thought was to make an example with program integration project that I led a few years ago Stage 1: Project Planning. The first stage of SDLC is all about “What do we want?” my approach was simply take project life cycle structure(initiation, planning, execution, monitoring and controlling, and closure) and elaborate on each stages did i. I lack a details and Excell skills and I should have taken SDLC structure because I fits better with JD. Stage 2: Gathering Requirements & Ana"

    Aldar M. - "/my initial thought was to make an example with program integration project that I led a few years ago Stage 1: Project Planning. The first stage of SDLC is all about “What do we want?” my approach was simply take project life cycle structure(initiation, planning, execution, monitoring and controlling, and closure) and elaborate on each stages did i. I lack a details and Excell skills and I should have taken SDLC structure because I fits better with JD. Stage 2: Gathering Requirements & Ana"See full answer

    Product Manager
    Behavioral
    +3 more
  • Google logoAsked at Google 
    BizOps & Strategy
    System Design
    +1 more
  • Meta logoAsked at Meta 
    Product Manager
    Product Design
  • +1

    "I used array to append. np.array does not have append and every np.vstack recreates object again. import numpy as np class Centroid: def init(self, location, vectors): self.location = location # (D,) self.vectors = vectors # (N_i, D) class KMeans: def init(self, n_features, k): self.nfeatures = nfeatures self.centroids = [ Centroid( location=np.random.randn(n_features), vectors=[] # I"

    Dinar M. - "I used array to append. np.array does not have append and every np.vstack recreates object again. import numpy as np class Centroid: def init(self, location, vectors): self.location = location # (D,) self.vectors = vectors # (N_i, D) class KMeans: def init(self, n_features, k): self.nfeatures = nfeatures self.centroids = [ Centroid( location=np.random.randn(n_features), vectors=[] # I"See full answer

    Coding
    Machine Learning
  • "Adding to what Zoe already mentioned: running a user study with existing customers to understand if they see the proposed design as favorable running AB testing with users to compare two different designs and decide which one is more favorable (based on a previously determined metrics)"

    Vlada J. - "Adding to what Zoe already mentioned: running a user study with existing customers to understand if they see the proposed design as favorable running AB testing with users to compare two different designs and decide which one is more favorable (based on a previously determined metrics)"See full answer

    Product Designer
    Behavioral
    +1 more
  • Google logoAsked at Google 
    +2

    "Note: Modifying the question to reflect the storage cost as well. Question: Estimate the cost of storing google photos on the photos app? Clarifying questions: Google photos - an app that syncs automatically to your camera app and uploads photos to Google cloud and reduces the need to store it on your device Cost of 1GB storage $0.002 Time storage cost per year Equation: Cost of storage per year = average cost of storing photos per day x 30 days x 12 months The ave"

    P K. - "Note: Modifying the question to reflect the storage cost as well. Question: Estimate the cost of storing google photos on the photos app? Clarifying questions: Google photos - an app that syncs automatically to your camera app and uploads photos to Google cloud and reduces the need to store it on your device Cost of 1GB storage $0.002 Time storage cost per year Equation: Cost of storage per year = average cost of storing photos per day x 30 days x 12 months The ave"See full answer

    Product Manager
    Estimation
    +1 more
  • Product Manager
    Product Strategy
  • +4

    "Goal of YT search is to enable quick access to a video of interest to user. So success for YT search would mean access to videos that interest, and user actually clicks on one or more searched videos to watch them. It also means reduced time searching overall, with high relevance results shown for search string. Actions performed by users are: Goes to the YT site or Mobile app Clicks on the Search window to type Enters search string and presses enter Browses the list, scrolls"

    Sarabjeet S. - "Goal of YT search is to enable quick access to a video of interest to user. So success for YT search would mean access to videos that interest, and user actually clicks on one or more searched videos to watch them. It also means reduced time searching overall, with high relevance results shown for search string. Actions performed by users are: Goes to the YT site or Mobile app Clicks on the Search window to type Enters search string and presses enter Browses the list, scrolls"See full answer

    Analytical
    Execution
Showing 1041-1060 of 4415