Interview Questions

Review this list of 4,065 interview questions and answers verified by hiring managers and candidates.
  • "I solved it using recursion and then memoization. Used Dynamic programming approach"

    Ravi teja N. - "I solved it using recursion and then memoization. Used Dynamic programming approach"See full answer

    Software Engineer
    Coding
    +1 more
  • +4

    "Me: First of all, I’d like to have some clarification about this project. Me: What is the current product line design of the vending machine? Is this a traditional vending machine? Customers pay money cash or credit card, and select products and receive the product. Interviewer: Yes, that is the correct assumption. We make vending machines for canned drinks and bottled drinks. Another product line is for selling small packaged snacks. Me: What is the goal of this project? Is"

    Takashi M. - "Me: First of all, I’d like to have some clarification about this project. Me: What is the current product line design of the vending machine? Is this a traditional vending machine? Customers pay money cash or credit card, and select products and receive the product. Interviewer: Yes, that is the correct assumption. We make vending machines for canned drinks and bottled drinks. Another product line is for selling small packaged snacks. Me: What is the goal of this project? Is"See full answer

    Execution
    Product Design
  • Amazon logoAsked at Amazon 

    "input_logs = [ f"{senderid} {receiverid} {transaction_count}" "1 2 2", "3 2 42", "2 2 22", "1 1 12", "2 1 1", "2 5 4", "4 2 15" ] input_threshold = 20 exptected_output = [ list of user_ids that made more than 20 transactions sorted by number of transactions in descending order "3", # 42 transactions "2", # 27 transactions (22 + 1 + 4) #"4", # 15 transactions #"1" # 14 transactions (2 + 12 + 1) ] def gettopapi_users(logs, thres"

    Anonymous Unicorn - "input_logs = [ f"{senderid} {receiverid} {transaction_count}" "1 2 2", "3 2 42", "2 2 22", "1 1 12", "2 1 1", "2 5 4", "4 2 15" ] input_threshold = 20 exptected_output = [ list of user_ids that made more than 20 transactions sorted by number of transactions in descending order "3", # 42 transactions "2", # 27 transactions (22 + 1 + 4) #"4", # 15 transactions #"1" # 14 transactions (2 + 12 + 1) ] def gettopapi_users(logs, thres"See full answer

    Software Engineer
    Coding
    +1 more
  • Amazon logoAsked at Amazon 

    "Was the statement very similar to the leetcode or was it changed and only the main idea remained?"

    Anonymous Wombat - "Was the statement very similar to the leetcode or was it changed and only the main idea remained?"See full answer

    Software Engineer
    Data Structures & Algorithms
    +1 more
  • 🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.

  • Netflix logoAsked at Netflix 
    Video answer for 'Design an accessible alternative to airport lounges.'

    "Design an accessible alternative to airport lounges. Clarifying questions: Is this global international airports or only US focused? - US to start Goal: To provide travelers a more accessible and comfortable travel experience. Users: Disabled / elderly travelers – need physical accessibility and sensory-friendly environments Families with kids Economy travelers – can’t access lounges but still want rest, Wi-Fi, and clean spaces. Business travelers – want work pods, reliabl"

    Eshaa D. - "Design an accessible alternative to airport lounges. Clarifying questions: Is this global international airports or only US focused? - US to start Goal: To provide travelers a more accessible and comfortable travel experience. Users: Disabled / elderly travelers – need physical accessibility and sensory-friendly environments Families with kids Economy travelers – can’t access lounges but still want rest, Wi-Fi, and clean spaces. Business travelers – want work pods, reliabl"See full answer

    Product Designer
    Product Design
  • Apple logoAsked at Apple 

    "We have a list of documents. We want to build an index that maps keywords to documents containing them. Then, given a query keyword, we can efficiently retrieve all matching documents. docs = [ "Python is great for data science", "C++ is a powerful language", "Python supports OOP and functional programming", "Weather today is sunny", "Weather forecast shows rain" ]"

    Mridul J. - "We have a list of documents. We want to build an index that maps keywords to documents containing them. Then, given a query keyword, we can efficiently retrieve all matching documents. docs = [ "Python is great for data science", "C++ is a powerful language", "Python supports OOP and functional programming", "Weather today is sunny", "Weather forecast shows rain" ]"See full answer

    Machine Learning Engineer
    Coding
    +1 more
  • Google logoAsked at Google 
    +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

    Execution
    Analytical
  • OpenAI logoAsked at OpenAI 
    Machine Learning Engineer
    System Design
  • Google logoAsked at Google 
    Video answer for 'How would you respond if a developer disagrees with your UX recommendations?'

    "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
  • Uber logoAsked at Uber 
    Product Manager
    Product Strategy
  • Meta (Facebook) logoAsked at Meta (Facebook) 
    Machine Learning Engineer
    System Design
  • "Even after a successful launch and long-term performance locally, app developers will need to develop a rigorous expansion strategy to succeed on a global scale. And although users are more connected than ever before, each region will present new challenges and considerations that must be solved by data-driven insights and research into the target market. This guide outlines everything you need to consider when expanding into new territories and localizing your app for new audiences."

    Abdurhman M. - "Even after a successful launch and long-term performance locally, app developers will need to develop a rigorous expansion strategy to succeed on a global scale. And although users are more connected than ever before, each region will present new challenges and considerations that must be solved by data-driven insights and research into the target market. This guide outlines everything you need to consider when expanding into new territories and localizing your app for new audiences."See full answer

    Design Manager
    Behavioral
    +1 more
  • Meta (Facebook) logoAsked at Meta (Facebook) 
    +1

    "Question Design a product for P2P borrowing & lending money Clarifications Is this only P2P borrowing/lending or can financial entities participate too? - P2P only Is it to borrow/lend physical cash/digital money/cryptocurrency? - digital fiat money Are we focusing on specific geography? - US What’s the goal of this product? - Retention Are there any resource constraints? - No What’s the timeline to launch MVP? - 6 months FB Mission Empower people to build commun"

    Amit T. - "Question Design a product for P2P borrowing & lending money Clarifications Is this only P2P borrowing/lending or can financial entities participate too? - P2P only Is it to borrow/lend physical cash/digital money/cryptocurrency? - digital fiat money Are we focusing on specific geography? - US What’s the goal of this product? - Retention Are there any resource constraints? - No What’s the timeline to launch MVP? - 6 months FB Mission Empower people to build commun"See full answer

    Product Manager
    Product Design
    +1 more
  • Meta (Facebook) logoAsked at Meta (Facebook) 
    +3

    "Q: should this be part of FB or a standalone product? A: no hard requirements, it just has to be something that FB would launch Q: is there a specific region we should be designing for? is it ok that we focus on the US as its the current epiccenter of the pandemic? A: Yes that's fine Q: fighting covid-19 is a very broad goal, what if we translated this into decrease the spread of covid-19 - there's multiple ways we could do that but it makes it a bit more concrete. A: Yes that sounds good "

    Anonymous Hummingbird - "Q: should this be part of FB or a standalone product? A: no hard requirements, it just has to be something that FB would launch Q: is there a specific region we should be designing for? is it ok that we focus on the US as its the current epiccenter of the pandemic? A: Yes that's fine Q: fighting covid-19 is a very broad goal, what if we translated this into decrease the spread of covid-19 - there's multiple ways we could do that but it makes it a bit more concrete. A: Yes that sounds good "See full answer

    Product Design
  • +8

    " import pandas as pd def lowestearningemployees(employees: pd.DataFrame) -> pd.DataFrame: your code goes here df=employees.sort_values('salary').head(3) return df[['id','firstname','lastname','salary']] 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'], 'salary': [20000, 10000, 3000"

    Sean L. - " import pandas as pd def lowestearningemployees(employees: pd.DataFrame) -> pd.DataFrame: your code goes here df=employees.sort_values('salary').head(3) return df[['id','firstname','lastname','salary']] 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'], 'salary': [20000, 10000, 3000"See full answer

    Coding
    Data Analysis
  • Google logoAsked at Google 

    "Situation: As a Product Manager at Cisco, I was leading the development of a new highly critical product for enterprise customers. Midway through the project, a key engineering team was reassigned due to an urgent security patch, leaving us understaffed with only six weeks left before a critical customer pilot. Task: I had to ensure the product launched on time without sacrificing key features, despite losing half of our engineering team. The challenge was to"

    fuzzyicecream14 - "Situation: As a Product Manager at Cisco, I was leading the development of a new highly critical product for enterprise customers. Midway through the project, a key engineering team was reassigned due to an urgent security patch, leaving us understaffed with only six weeks left before a critical customer pilot. Task: I had to ensure the product launched on time without sacrificing key features, despite losing half of our engineering team. The challenge was to"See full answer

    Software Engineer
    Behavioral
  • "Proposed Solution: Awareness and Control Features Algorithm Awareness Campaign Educational Content: Create short videos explaining how the algorithm works to enhance user experience. Transparency Reports: Regular updates on algorithm changes to keep users informed. User-Controlled Engagement Settings Customizable Feed Options: Allow users to adjust content preferences and limit certain types of videos. Time Management Tools: Introduce reminders for screen time limits an"

    Jaswanth P. - "Proposed Solution: Awareness and Control Features Algorithm Awareness Campaign Educational Content: Create short videos explaining how the algorithm works to enhance user experience. Transparency Reports: Regular updates on algorithm changes to keep users informed. User-Controlled Engagement Settings Customizable Feed Options: Allow users to adjust content preferences and limit certain types of videos. Time Management Tools: Introduce reminders for screen time limits an"See full answer

    Product Manager
    Behavioral
    +1 more
  • Amazon logoAsked at Amazon 
    Video answer for 'Design Prime Video.'
    +8

    "Amazon Prime will generally have a limited group of uploaders rather than a million of them. This should influence the design of the Uploader service as it doesn't need to scale that much. Also the Encoding service role was not too clear"

    Nilanjan D. - "Amazon Prime will generally have a limited group of uploaders rather than a million of them. This should influence the design of the Uploader service as it doesn't need to scale that much. Also the Encoding service role was not too clear"See full answer

    System Design
  • TikTok logoAsked at TikTok 
    Video answer for 'Split an array into equal sum subarrays'
    Data Engineer
    Data Structures & Algorithms
    +1 more
Showing 1061-1080 of 4065