Skip to main content

Interview Questions

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

    "function knapsack(weights, values, cap) { const indicesByValue = Object.keys(weights).map(weight => parseInt(weight)); indicesByValue.sort((a, b) => values[b]-values[a]); const steps = new Map(); function knapsackStep(cap, sack) { if (steps.has(sack)) { return steps.get(sack); } let maxOutput = 0; for (let index of indicesByValue) { if (!sack.has(index) && weights[index] <= cap) { maxOutput ="

    Tiago R. - "function knapsack(weights, values, cap) { const indicesByValue = Object.keys(weights).map(weight => parseInt(weight)); indicesByValue.sort((a, b) => values[b]-values[a]); const steps = new Map(); function knapsackStep(cap, sack) { if (steps.has(sack)) { return steps.get(sack); } let maxOutput = 0; for (let index of indicesByValue) { if (!sack.has(index) && weights[index] <= cap) { maxOutput ="See full answer

    Software Engineer
    Data Structures & Algorithms
    +2 more
  • Databricks logoAsked at Databricks 
    Software Engineer
    System Design
    +1 more
  • Airbnb logoAsked at Airbnb 
    Video answer for 'Find the minimum window substring.'

    "What about exploiting the hash set and that is it? def smallestSubstring(s: str, t: str) -> str: if len(t) > len(s): return "" r = len(s) - 1 not_found = True while r > 0 and not_found: subs_set = set(s[0:r + 1]) for c in t: if not c in subs_set: not_found = False if not_found: r -= 1 else: r += 1 l = 0 not_found = True while l < r and not_"

    Gabriele G. - "What about exploiting the hash set and that is it? def smallestSubstring(s: str, t: str) -> str: if len(t) > len(s): return "" r = len(s) - 1 not_found = True while r > 0 and not_found: subs_set = set(s[0:r + 1]) for c in t: if not c in subs_set: not_found = False if not_found: r -= 1 else: r += 1 l = 0 not_found = True while l < r and not_"See full answer

    Software Engineer
    Data Structures & Algorithms
    +1 more
  • Google logoAsked at Google 

    "Google Assistant is the Voice AI which converts Natural Language to Queries/Instruction , processes it and get the results and again converts it back to Meaningful Results to the User Currently Google Assistant is Integrated in Multiple End Points. Phone Google Home Chrome Cast Google Chrome Books Some of the Use Cases Google Assistant is used is Making Phone Calls/Texting Asking General Queries/Searching for Information Integration with Devices and Turning them O"

    Akshai V. - "Google Assistant is the Voice AI which converts Natural Language to Queries/Instruction , processes it and get the results and again converts it back to Meaningful Results to the User Currently Google Assistant is Integrated in Multiple End Points. Phone Google Home Chrome Cast Google Chrome Books Some of the Use Cases Google Assistant is used is Making Phone Calls/Texting Asking General Queries/Searching for Information Integration with Devices and Turning them O"See full answer

    Product Manager
    Product Strategy
    +1 more
  • GitHub logoAsked at GitHub 
    +1

    "I always strive to use feedback as a learning opportunity to enhance my skills and performance. Since I don't have recent negative feedback to share, I constantly seek constructive criticism and feedback to improve. In my experiences, I've received valuable input that has helped me refine my approach, such as enhancing communication methods or adjusting certain processes for better efficiency. Whether positive or negative, feedback is instrumental in professional growth, and I actively use it to"

    Balakrishnan J. - "I always strive to use feedback as a learning opportunity to enhance my skills and performance. Since I don't have recent negative feedback to share, I constantly seek constructive criticism and feedback to improve. In my experiences, I've received valuable input that has helped me refine my approach, such as enhancing communication methods or adjusting certain processes for better efficiency. Whether positive or negative, feedback is instrumental in professional growth, and I actively use it to"See full answer

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

  • Google logoAsked at Google 

    "Google mission==>organize world info and make it accessible to user Monetize from Ad revenue, enterprise productivity service, Developers Google glass provides==>smart  virtual screen , hands free voice commands activated glass for for $1000+. Fits in google mission If google is to launch google glass the key metrics of success would be Number of glasses purchase Usage in term of google search, texts, play video, take picture other activities performed Previous pitfalls "

    Anonymous Koala - "Google mission==>organize world info and make it accessible to user Monetize from Ad revenue, enterprise productivity service, Developers Google glass provides==>smart  virtual screen , hands free voice commands activated glass for for $1000+. Fits in google mission If google is to launch google glass the key metrics of success would be Number of glasses purchase Usage in term of google search, texts, play video, take picture other activities performed Previous pitfalls "See full answer

    Product Strategy
  • +1

    "what is a task rabbit? marketplace connecting users with freelance labor with local demand, allowing consumers to find help with everyday tasks, including furniture assembly, moving, delivery, and handy person work Explain the User Flow in short: User logs in, searches for the services, sorts, picks and books the service the gig worker gets 24 hours to pick the request, accepted or declined In case it is accepted then it is considered a "BOOKed"gig what is the post booking experience? -"

    Anu S. - "what is a task rabbit? marketplace connecting users with freelance labor with local demand, allowing consumers to find help with everyday tasks, including furniture assembly, moving, delivery, and handy person work Explain the User Flow in short: User logs in, searches for the services, sorts, picks and books the service the gig worker gets 24 hours to pick the request, accepted or declined In case it is accepted then it is considered a "BOOKed"gig what is the post booking experience? -"See full answer

    Product Manager
    Analytical
    +2 more
  • +2

    "I used the GAME method. Started first with defining the product and setting the mission and goal for Zoom. Stated that the product grew in popularity in 2020-2021 for both business and personal use, but since lockdown ended, shifted to business use. Goal is to effortlessly and seamlessly connect people anywhere. Focused on the business use case and stated Zoom makes revenue through contracts signed with various enterprises. Due to maturity of the product and business focused, said it make"

    Jeffrey F. - "I used the GAME method. Started first with defining the product and setting the mission and goal for Zoom. Stated that the product grew in popularity in 2020-2021 for both business and personal use, but since lockdown ended, shifted to business use. Goal is to effortlessly and seamlessly connect people anywhere. Focused on the business use case and stated Zoom makes revenue through contracts signed with various enterprises. Due to maturity of the product and business focused, said it make"See full answer

    Product Manager
    Analytical
  • +10

    "SELECT items.item_category, SUM(orders.orderquantity) AS totalunitsorderedlast7days FROM orders JOIN items ON orders.itemid = items.itemid WHERE orders.order_date BETWEEN DATE('now', '-6 days') AND DATE('now') GROUP BY items.item_category `"

    Salome L. - "SELECT items.item_category, SUM(orders.orderquantity) AS totalunitsorderedlast7days FROM orders JOIN items ON orders.itemid = items.itemid WHERE orders.order_date BETWEEN DATE('now', '-6 days') AND DATE('now') GROUP BY items.item_category `"See full answer

    Coding
    SQL
  • +5

    "To start I would ask a few clarifying questions regarding the product and the company: Does the mineral water have unique health benefits to the consumer? I would ask for details about the bottle packaging - unique design elements, materials used, and options available Is mineral water in the company's current product catalog? Does the company sell high-end consumer products in the market I would make certain assumptions for the sake of this question: The mineral water is natura"

    paddy19 - "To start I would ask a few clarifying questions regarding the product and the company: Does the mineral water have unique health benefits to the consumer? I would ask for details about the bottle packaging - unique design elements, materials used, and options available Is mineral water in the company's current product catalog? Does the company sell high-end consumer products in the market I would make certain assumptions for the sake of this question: The mineral water is natura"See full answer

    Product Strategy
  • +2

    "Here are some strategies to mitigate the effects of organizational and architectural dependencies on a team's work. Automation Where possible, automate repetitive tasks, and include appropriate controls to ensure safety. For example, automate deployments, building in all needed safety and compliance checks, and let teams perform the process themselves, rather than having them back up in the Ops team’s queue. Standardize processes Even if you can’t automate a process, make it happen the s"

    Mukul P. - "Here are some strategies to mitigate the effects of organizational and architectural dependencies on a team's work. Automation Where possible, automate repetitive tasks, and include appropriate controls to ensure safety. For example, automate deployments, building in all needed safety and compliance checks, and let teams perform the process themselves, rather than having them back up in the Ops team’s queue. Standardize processes Even if you can’t automate a process, make it happen the s"See full answer

    Behavioral
    Program Sense
  • Lyft logoAsked at Lyft 

    "To clarify, Lyft currently uses dynamic pricing which means the price of a ride is not constant and depends on multiple factors. Let's keep only the car rides on Lyft with driver-rider as customers in the current scope and ignore other product offerings such as bikes, scooters. Should we improve the current dynamic pricing model or design dynamic pricing assuming it doesn't exist? Let's assume latter. Let's assume this dynamic pricing applies to entire US market. Now let's see what factors I"

    M N. - "To clarify, Lyft currently uses dynamic pricing which means the price of a ride is not constant and depends on multiple factors. Let's keep only the car rides on Lyft with driver-rider as customers in the current scope and ignore other product offerings such as bikes, scooters. Should we improve the current dynamic pricing model or design dynamic pricing assuming it doesn't exist? Let's assume latter. Let's assume this dynamic pricing applies to entire US market. Now let's see what factors I"See full answer

    Analytical
    Product Design
    +1 more
  • "Inventory Service and Registration service can they be in SYNC always ?? The "experience layer" needs accessed by Hotel owners also ??? How does real time inventory come from all Hotels ???"

    Anup S. - "Inventory Service and Registration service can they be in SYNC always ?? The "experience layer" needs accessed by Hotel owners also ??? How does real time inventory come from all Hotels ???"See full answer

    System Design
  • Lyft logoAsked at Lyft 

    "Clarifying question- Current pricing model at lyft? So there is already some kind of dynamic pricing happening at lyft as depending on different factors like distance, driver availability, time of day, seasonality etc. the prices would change Hypothesis- I want to focus on real-time dynamic pricing. What I mean by that is that I want to have another option while booking a ride on lyft where the price for the ride is not shown upfront as the user is booking. Instead this option would basica"

    Sampada J. - "Clarifying question- Current pricing model at lyft? So there is already some kind of dynamic pricing happening at lyft as depending on different factors like distance, driver availability, time of day, seasonality etc. the prices would change Hypothesis- I want to focus on real-time dynamic pricing. What I mean by that is that I want to have another option while booking a ride on lyft where the price for the ride is not shown upfront as the user is booking. Instead this option would basica"See full answer

    Analytical
    Execution
    +1 more
  • Product Design
  • "Currently, I do a lot of data analysis using Azure Databricks and PowerBI. In Databricks, I write some basic SQL queries to retrieve the data and then pull that data into PowerBI for analysis. While this is sufficient, I believe there is room to make this skill set stronger. One way that I mitigate this currently is to maintain a strong relationship with our data analytics team. Whenever I have issues massaging or querying the data, I will reach out to one of those team members to help me get to"

    John F. - "Currently, I do a lot of data analysis using Azure Databricks and PowerBI. In Databricks, I write some basic SQL queries to retrieve the data and then pull that data into PowerBI for analysis. While this is sufficient, I believe there is room to make this skill set stronger. One way that I mitigate this currently is to maintain a strong relationship with our data analytics team. Whenever I have issues massaging or querying the data, I will reach out to one of those team members to help me get to"See full answer

    Product Manager
    Behavioral
  • Meta (Facebook) logoAsked at Meta (Facebook) 

    " To start, I'm going to make sure I understand the product correctly and also define what specific business metric we're trying to improve. Second, I will focus on defining the target user for which we want to improve the product and brainstorm what additional user problems we could solve. And third, I will generate solutions for these problems, prioritize them, and make a recommendation." First I want to understand if this product will aim to help me find the pet I want, or help me discover wh"

    Anonymous Sparrow - " To start, I'm going to make sure I understand the product correctly and also define what specific business metric we're trying to improve. Second, I will focus on defining the target user for which we want to improve the product and brainstorm what additional user problems we could solve. And third, I will generate solutions for these problems, prioritize them, and make a recommendation." First I want to understand if this product will aim to help me find the pet I want, or help me discover wh"See full answer

    Product Design
    Product Strategy
  • Apple logoAsked at Apple 
    +4

    "public static void sortBinaryArray(int[] array) { int len = array.length; int[] res = new int[len]; int r=len-1; for (int value : array) { if(value==1){ res[r]= 1; r--; } } System.out.println(Arrays.toString(res)); } `"

    Nitin P. - "public static void sortBinaryArray(int[] array) { int len = array.length; int[] res = new int[len]; int r=len-1; for (int value : array) { if(value==1){ res[r]= 1; r--; } } System.out.println(Arrays.toString(res)); } `"See full answer

    Software Engineer
    Data Structures & Algorithms
    +1 more
  • Robinhood logoAsked at Robinhood 

    "Why do we want to build an ad platform? Should we discuss if we should/should not do this? Or have we decided? Let's say we decided. Now what's the goal of ad platform? Additional revenue stream. We need to make sure the ads we show don't distract our users from the core product but help our users with their financial needs through relevant advertisements. It might not be a bad idea to monetize the 13M users as long as we're connecting them with the right brands/services. Now let's look at the"

    M N. - "Why do we want to build an ad platform? Should we discuss if we should/should not do this? Or have we decided? Let's say we decided. Now what's the goal of ad platform? Additional revenue stream. We need to make sure the ads we show don't distract our users from the core product but help our users with their financial needs through relevant advertisements. It might not be a bad idea to monetize the 13M users as long as we're connecting them with the right brands/services. Now let's look at the"See full answer

    Product Manager
    Product Strategy
Showing 701-720 of 4398