Skip to main content

Interview Questions

Review this list of 4,415 interview questions and answers verified by hiring managers and candidates.
  • Meta logoAsked at Meta 
    4 answers
    +1

    "Approach 1: Use sorting and return the kth largest element from the sorted list. Time complexity: O(nlogn) Approach 2: Use max heap and then select the kth largest element. time complexity: O(n+logn) Approach 3: Quickselect. Time complexity O(n) I explained my interviewer the 3 approaches. He told me to solve in a naive manner. Used Approach 1 had some time left so coded approach 3 also The average time complexity of Quickselect is O(n), making it very efficient for its purpose. However, in"

    GalacticInterviewer - "Approach 1: Use sorting and return the kth largest element from the sorted list. Time complexity: O(nlogn) Approach 2: Use max heap and then select the kth largest element. time complexity: O(n+logn) Approach 3: Quickselect. Time complexity O(n) I explained my interviewer the 3 approaches. He told me to solve in a naive manner. Used Approach 1 had some time left so coded approach 3 also The average time complexity of Quickselect is O(n), making it very efficient for its purpose. However, in"See full answer

    Software Engineer
    Data Structures & Algorithms
    +2 more
  • Amazon logoAsked at Amazon 
    Add answer
    Machine Learning Engineer
    Concept
    +1 more
  • Intuit logoAsked at Intuit 
    2 answers

    "My weakness was stage fright and talking in front of a large audience. This TPM role does offer me an opportunity to do both but not at the scale at which impacts my day to day role. Also over many years I have taken remedial action e.g. joined a Toast Masters club to overcome my weakness."

    Anonymous Mollusk - "My weakness was stage fright and talking in front of a large audience. This TPM role does offer me an opportunity to do both but not at the scale at which impacts my day to day role. Also over many years I have taken remedial action e.g. joined a Toast Masters club to overcome my weakness."See full answer

    Technical Program Manager
    Behavioral
  • Google logoAsked at Google 
    2 answers

    "i use google frequently, but most of the time i use for syntax and terms which i dont undestand, google is my go to guy."

    Ankit R. - "i use google frequently, but most of the time i use for syntax and terms which i dont undestand, google is my go to guy."See full answer

    Machine Learning Engineer
    Behavioral
  • Scale AI logoAsked at Scale AI 
    Add answer
    BizOps & Strategy
    Analytical
  • 🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.

  • Microsoft logoAsked at Microsoft 
    4 answers
    +1

    "First find the node that we need to delete. After it's found, think about ways to keep the tree BST after deleting the node. a. If there's no left or right subtree, we found the leaf. Delete this node without any further traversing. b. If it's not a leaf node, what node we can use from the subtree that can replace the delete node and still maintain the BST property? We can either replace the delete node with the minimum from the right subtree (if right exists) or we can replace the delete"

    An D. - "First find the node that we need to delete. After it's found, think about ways to keep the tree BST after deleting the node. a. If there's no left or right subtree, we found the leaf. Delete this node without any further traversing. b. If it's not a leaf node, what node we can use from the subtree that can replace the delete node and still maintain the BST property? We can either replace the delete node with the minimum from the right subtree (if right exists) or we can replace the delete"See full answer

    Software Engineer
    Coding
  • Google logoAsked at Google 
    2 answers

    "I would assume that this is similar to an intervals question. Meeting Rooms II (https://www.lintcode.com/problem/919/?fromId=203&_from=collection) on Leetcode seems like the closest comparison, it's a premium question so I linked Lintcode. I'm assuming that we also need to just return the minimum number of cars used. You need to sort for the most optimal solution, so you're constrained by an O(nlogn) time complexity. So any sorting solution could work (using a heap, sorting the array input arra"

    Sohum S. - "I would assume that this is similar to an intervals question. Meeting Rooms II (https://www.lintcode.com/problem/919/?fromId=203&_from=collection) on Leetcode seems like the closest comparison, it's a premium question so I linked Lintcode. I'm assuming that we also need to just return the minimum number of cars used. You need to sort for the most optimal solution, so you're constrained by an O(nlogn) time complexity. So any sorting solution could work (using a heap, sorting the array input arra"See full answer

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

    "The product is text-to-music that means people can use the tool to create custom music by prompting into the tool We must identify who needs music but cannot currently create it easily or affordably. Target Segments: Content Creators: YouTubers/Streamers needing royalty-free background tracks. Game Developers: In-game music. Marketing Teams: Quick, branded audio for social media ads. Casual users : Creating music for peer share Problem to solve: Solving the "Copyright Str"

    Rohit K. - "The product is text-to-music that means people can use the tool to create custom music by prompting into the tool We must identify who needs music but cannot currently create it easily or affordably. Target Segments: Content Creators: YouTubers/Streamers needing royalty-free background tracks. Game Developers: In-game music. Marketing Teams: Quick, branded audio for social media ads. Casual users : Creating music for peer share Problem to solve: Solving the "Copyright Str"See full answer

    Product Manager
    Artificial Intelligence
    +1 more
  • Meta logoAsked at Meta 
    2 answers

    "Design a Fundraising product Clarifying questions : Are we creating this a standalone product or creating this within Meta apps ? Global product ? Lets say global product What is fundraising ? Raising money for cause Why is it imp ? Allows individuals to see bigger changes with small contributios why now? increased social causes, creator economy, or global crises. Want to make it accessible for everyday person rather than limiting to bigger organizations Ties into Metas mission to give"

    Rani Y. - "Design a Fundraising product Clarifying questions : Are we creating this a standalone product or creating this within Meta apps ? Global product ? Lets say global product What is fundraising ? Raising money for cause Why is it imp ? Allows individuals to see bigger changes with small contributios why now? increased social causes, creator economy, or global crises. Want to make it accessible for everyday person rather than limiting to bigger organizations Ties into Metas mission to give"See full answer

    Product Manager
    Product Design
  • Asana logoAsked at Asana 
    Add answer
    System Design
    Technical
  • Coinbase logoAsked at Coinbase 
    1 answer

    "Hey, Thanks for the question - it’s an interesting real-life existing problem wherein a few of my friends and colleagues who have tried to work and travel have faced these issues at their respective airBnBs. Cool so this is the rough backbone structure that we can follow and ofcourse we can add meat later on to it and pivot if required. So here it goes: First would like to lay out the broader mission of Airbnb + WHY this is needed as to why we are doing this and then some clarific"

    Adarsh S. - "Hey, Thanks for the question - it’s an interesting real-life existing problem wherein a few of my friends and colleagues who have tried to work and travel have faced these issues at their respective airBnBs. Cool so this is the rough backbone structure that we can follow and ofcourse we can add meat later on to it and pivot if required. So here it goes: First would like to lay out the broader mission of Airbnb + WHY this is needed as to why we are doing this and then some clarific"See full answer

    Product Manager
    Product Design
  • Google logoAsked at Google 
    1 answer

    "Product management deals with new product development, enhancing existing products, monitoring the performance, planning, forecasting, monetization, pricing, product launch, and marketing of a product. Personally, I would like to improve many aspects of Product management. Try to understand the Product we are developing as much as possible. Brainstorm and think about long term goals and vision for product we are responsible for. Hypothesize the Product vision and value of the product for"

    Avi P. - "Product management deals with new product development, enhancing existing products, monitoring the performance, planning, forecasting, monetization, pricing, product launch, and marketing of a product. Personally, I would like to improve many aspects of Product management. Try to understand the Product we are developing as much as possible. Brainstorm and think about long term goals and vision for product we are responsible for. Hypothesize the Product vision and value of the product for"See full answer

    Product Manager
    Behavioral
  • Google logoAsked at Google 
    1 answer

    "Elderly Users Preventive Health checkups Alerting families and relatives in Emergency situations Easily calling relatives / friends - AR experience Reliving the past experiences Guiding them in case of crossing the road Making shopping easier for them by understanding their mood and ordering for them helping in deciding the song playlist based on emotions Kids Exercising and noticing the effort spent Fun based learning Help in social interactions Help parents understand"

    P D. - "Elderly Users Preventive Health checkups Alerting families and relatives in Emergency situations Easily calling relatives / friends - AR experience Reliving the past experiences Guiding them in case of crossing the road Making shopping easier for them by understanding their mood and ordering for them helping in deciding the song playlist based on emotions Kids Exercising and noticing the effort spent Fun based learning Help in social interactions Help parents understand"See full answer

    Product Design
  • Rakuten logoAsked at Rakuten 
    Add answer
    Behavioral
  • Twitter logoAsked at Twitter 
    Add answer
    Product Design
  • Google logoAsked at Google 
    Add answer
    Product Manager
  • Apple logoAsked at Apple 
    Add answer
    Machine Learning Engineer
    Technical
  • "Ads"

    Suhas M. - "Ads"See full answer

    Product Strategy
  • Stripe logoAsked at Stripe 
    Add answer
    Product Manager
    Product Design
  • Amazon logoAsked at Amazon 
    Add answer
    Technical
Showing 2661-2680 of 4415