Interview Questions

Review this list of 4,029 interview questions and answers verified by hiring managers and candidates.
  • "This problem can be solved with two approaches Iterative approach Recursive approach Quite easy to think about the iterative approach, you can make use of a while loop in that case. But what if you want to make use of previously computed values? That case going for the recursive solution is quite useful. class Collatz: def init(self) -> None: self.cache = {} self.steps = 0 def steps_from(self, n) -> int: # base case if n == 1: "

    Frederick A. - "This problem can be solved with two approaches Iterative approach Recursive approach Quite easy to think about the iterative approach, you can make use of a while loop in that case. But what if you want to make use of previously computed values? That case going for the recursive solution is quite useful. class Collatz: def init(self) -> None: self.cache = {} self.steps = 0 def steps_from(self, n) -> int: # base case if n == 1: "See full answer

    Software Engineer
    Coding
  • Meta (Facebook) logoAsked at Meta (Facebook) 
    Product Manager
    Execution
    +1 more
  • "We are asked to calculate Sum(over value) for time in (t - window_size, t) where key in (key criteria). To develop a function to set this up. Let w be the window size. I would have an observer of some kind note the key-value, and for the first w windows just add the value to a temporary variable in memory if the key meets the key criteria. Then it would delete the oldest value and add the new value if the new key meets the criteria. At each step after "w", we would take the sum / w and store"

    Prashanth A. - "We are asked to calculate Sum(over value) for time in (t - window_size, t) where key in (key criteria). To develop a function to set this up. Let w be the window size. I would have an observer of some kind note the key-value, and for the first w windows just add the value to a temporary variable in memory if the key meets the key criteria. Then it would delete the oldest value and add the new value if the new key meets the criteria. At each step after "w", we would take the sum / w and store"See full answer

    Software Engineer
    Coding
    +1 more
  • Machine Learning
    System Design
  • "I gave multiple answers including polling the service every 10 sec to see customer. Or we can have the client side call which will send this data after 10 sec to us. We will store in dynamo DB and then send through pipelines to redshift DB for analytics."

    Deepti K. - "I gave multiple answers including polling the service every 10 sec to see customer. Or we can have the client side call which will send this data after 10 sec to us. We will store in dynamo DB and then send through pipelines to redshift DB for analytics."See full answer

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

  • "I'd do an audit of what we understand, the gaps and the risks. What information do we have and how confident do we feel? What assumptions do we have? What do we not know? What is the risk of making certain assumptions? With this information, and a pulse of your team you can get an understanding of the risk level for moving forward. If the risk is high, you need to go back to leadership with the evidence and ask for more time. **What's the risk if we don't launch on"

    James W. - "I'd do an audit of what we understand, the gaps and the risks. What information do we have and how confident do we feel? What assumptions do we have? What do we not know? What is the risk of making certain assumptions? With this information, and a pulse of your team you can get an understanding of the risk level for moving forward. If the risk is high, you need to go back to leadership with the evidence and ask for more time. **What's the risk if we don't launch on"See full answer

    Product Designer
    Behavioral
  • Amazon logoAsked at Amazon 
    Product Manager
  • "Below data was given in a an excel. Data of 6 weeks, at a weekly level of COVID samples collected and tested Age Group, Population size, # tested, # positive, gender My approach: Tried to understand the trend of positivity rate of each group across weeks and cumulative level There is no variation across weeks, and each cohort exhibited similar pattern in all the weeks. So looked at cumulative data of 6 weeks. No clear goal/objective set by the interviewer for vaccine distributio"

    RestlessMonk - "Below data was given in a an excel. Data of 6 weeks, at a weekly level of COVID samples collected and tested Age Group, Population size, # tested, # positive, gender My approach: Tried to understand the trend of positivity rate of each group across weeks and cumulative level There is no variation across weeks, and each cohort exhibited similar pattern in all the weeks. So looked at cumulative data of 6 weeks. No clear goal/objective set by the interviewer for vaccine distributio"See full answer

    Product Manager
    Analytical
  • Amazon logoAsked at Amazon 

    "I'm seeking a role in which I can be continually challenged to devise innovative and streamlined solutions for complex issues, particularly with regard to the persistent soaking problem. I'm excited about the opportunity to not only excel in my own performance but also to empower and enable my colleagues to perform at their absolute best. My goal is to wield my influence and magnetic qualities to not only attract but also retain top-tier engineering talent, all in alignment with our shared objec"

    Anonymous Narwhal - "I'm seeking a role in which I can be continually challenged to devise innovative and streamlined solutions for complex issues, particularly with regard to the persistent soaking problem. I'm excited about the opportunity to not only excel in my own performance but also to empower and enable my colleagues to perform at their absolute best. My goal is to wield my influence and magnetic qualities to not only attract but also retain top-tier engineering talent, all in alignment with our shared objec"See full answer

    Software Engineer
    Behavioral
    +1 more
  • Flipkart logoAsked at Flipkart 
    Product Manager
    Product Design
  • Google logoAsked at Google 

    "Clarification questions What is the purpose of connecting the DB? Do we expect high-volumes of traffic to hit the DB Do we have scalability or reliability concerns? Format Code -> DB Code -> Cache -> DB API -> Cache -> DB - APIs are built for a purpose and have a specified protocol (GET, POST, DELETE) to speak to the DB. APIs can also use a contract to retrieve information from a DB much faster than code. Load balanced APIs -> Cache -> DB **Aut"

    Aaron W. - "Clarification questions What is the purpose of connecting the DB? Do we expect high-volumes of traffic to hit the DB Do we have scalability or reliability concerns? Format Code -> DB Code -> Cache -> DB API -> Cache -> DB - APIs are built for a purpose and have a specified protocol (GET, POST, DELETE) to speak to the DB. APIs can also use a contract to retrieve information from a DB much faster than code. Load balanced APIs -> Cache -> DB **Aut"See full answer

    Product Manager
    Concept
    +2 more
  • Samsung logoAsked at Samsung 

    "I've worked on projects not quite like this, but very similar, in the past - I'll borrow from that to answer this: The Broader Context this problem doesn't specify the type of data we're working with, or how it's being ingested to align with my personal background, I'll assume a picture that lends this problem well to being a computer vision (abbreviated "CV") related question: let's say we have a conveyor belt in a waste facility, which sequentially carries a stream of waste w"

    Zain R. - "I've worked on projects not quite like this, but very similar, in the past - I'll borrow from that to answer this: The Broader Context this problem doesn't specify the type of data we're working with, or how it's being ingested to align with my personal background, I'll assume a picture that lends this problem well to being a computer vision (abbreviated "CV") related question: let's say we have a conveyor belt in a waste facility, which sequentially carries a stream of waste w"See full answer

    Machine Learning Engineer
    System Design
    +1 more
  • Google logoAsked at Google 

    "Clarify the problem / make assumptions: What are we defining as misleading? For this problem, any video that contains information countering accepted scientific/research-driven results What is meant by fix? Does that entail removing said videos? For this problem, I want to see if we can minimize the amount of videos pulled from YouTube Intro to the product: YouTube is a video-sharing platform that was acquired by Google in 2006 YouTube's original mission statement:"

    slouchingtowardssv - "Clarify the problem / make assumptions: What are we defining as misleading? For this problem, any video that contains information countering accepted scientific/research-driven results What is meant by fix? Does that entail removing said videos? For this problem, I want to see if we can minimize the amount of videos pulled from YouTube Intro to the product: YouTube is a video-sharing platform that was acquired by Google in 2006 YouTube's original mission statement:"See full answer

    Analytical
    Execution
  • Google logoAsked at Google 

    "Me: thanks for the question. Could you tell me what type of drone is it and what is the user segment? Interviewer: What you mean by type of drone? Me: Is it a premium drone with premium features like a camera or it's more on the cheaper side? Interviewer: It's a normal drone with basic features, a good camera but nothing professional and it has the Google brand. The users are amateur drone users. Me: Awesome, is there anything specific about this drone in relation to others? You mentioned th"

    Talles S. - "Me: thanks for the question. Could you tell me what type of drone is it and what is the user segment? Interviewer: What you mean by type of drone? Me: Is it a premium drone with premium features like a camera or it's more on the cheaper side? Interviewer: It's a normal drone with basic features, a good camera but nothing professional and it has the Google brand. The users are amateur drone users. Me: Awesome, is there anything specific about this drone in relation to others? You mentioned th"See full answer

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

    "What is the goal of FB as a company, how does marketplace help. Who are the different users (Sellers and buyers. Also mention advertisers). Sellers can be artists or small/ home business owners. they also also be infrequent sellers who come to FB marketplace when they are moving cities or moving to a new location. Buyers can be low and high engagement. We will focus on sellers - if more sellers come on the platform, it will attract buyers, generate sales, and spin the flywheel. Also, if a sel"

    Neha A. - "What is the goal of FB as a company, how does marketplace help. Who are the different users (Sellers and buyers. Also mention advertisers). Sellers can be artists or small/ home business owners. they also also be infrequent sellers who come to FB marketplace when they are moving cities or moving to a new location. Buyers can be low and high engagement. We will focus on sellers - if more sellers come on the platform, it will attract buyers, generate sales, and spin the flywheel. Also, if a sel"See full answer

    Product Manager
    Execution
    +2 more
  • LinkedIn logoAsked at LinkedIn 
    Product Manager
    Behavioral
  • Microsoft logoAsked at Microsoft 

    "Stakeholder management, Customer obsession, tech expertise to understand the tech stack and other details of the product."

    Rav S. - "Stakeholder management, Customer obsession, tech expertise to understand the tech stack and other details of the product."See full answer

    Product Manager
    Behavioral
  • Product Manager
Showing 2021-2040 of 4029