Skip to main content

Interview Questions

Review this list of 4,415 interview questions and answers verified by hiring managers and candidates.
  • Product Manager
    Behavioral
    +1 more
  • Amazon logoAsked at Amazon 
    Video answer for 'Implement a k-nearest neighbors algorithm.'
    +10

    "Even more faster and vectorized version, using np.linalg.norm - to avoid loop and np.argpartition to select lowest k. We dont need to sort whole array - we need to be sure that first k elements are lower than the rest. import numpy as np def knn(Xtrain, ytrain, X_new, k): distances = np.linalg.norm(Xtrain - Xnew, axis=1) k_indices = np.argpartition(distances, k)[:k] # O(N) selection instead of O(N log N) sort return int(np.sum(ytrain[kindices]) > k / 2.0) `"

    Dinar M. - "Even more faster and vectorized version, using np.linalg.norm - to avoid loop and np.argpartition to select lowest k. We dont need to sort whole array - we need to be sure that first k elements are lower than the rest. import numpy as np def knn(Xtrain, ytrain, X_new, k): distances = np.linalg.norm(Xtrain - Xnew, axis=1) k_indices = np.argpartition(distances, k)[:k] # O(N) selection instead of O(N log N) sort return int(np.sum(ytrain[kindices]) > k / 2.0) `"See full answer

    Machine Learning Engineer
    Coding
    +2 more
  • Amazon logoAsked at Amazon 

    "class Node: def init(self, value): self.value = value self.children = [] def inorder_traversal(root): if not root: return [] result = [] n = len(root.children) for i in range(n): result.extend(inorder_traversal(root.children[i])) if i == n // 2: result.append(root.value) if n == 0: result.append(root.value) return result Example usage: root = Node(1) child1 = Node(2) chil"

    Teddy Y. - "class Node: def init(self, value): self.value = value self.children = [] def inorder_traversal(root): if not root: return [] result = [] n = len(root.children) for i in range(n): result.extend(inorder_traversal(root.children[i])) if i == n // 2: result.append(root.value) if n == 0: result.append(root.value) return result Example usage: root = Node(1) child1 = Node(2) chil"See full answer

    Software Engineer
    Data Structures & Algorithms
    +1 more
  • "Clarifications ( Assuming this a technical question ) What is the purpose of this News feed ? Do we have a specific platform in mind ( Assumed Android phones ) Focus user group - People who use News feed a lot Business goal - Provide fresh and engaging content. Basic functionalities of news feed: News feed - A space where articles is collated and presented to the user Organise content. Customise news feed based on reading patterns. Push down older content. Keep the reader"

    Uttam R. - "Clarifications ( Assuming this a technical question ) What is the purpose of this News feed ? Do we have a specific platform in mind ( Assumed Android phones ) Focus user group - People who use News feed a lot Business goal - Provide fresh and engaging content. Basic functionalities of news feed: News feed - A space where articles is collated and presented to the user Organise content. Customise news feed based on reading patterns. Push down older content. Keep the reader"See full answer

    Technical
  • "Any answer after this video won't compare. Not an expert. With that caveat out of the way, here is my answer I'd break this work into different phases = Discovery Phase, Planning Phase, Execution Phase, Monitoring phase, Ongoing Discovery : How many Products does this enterprise have? Are we talking about internally developed Products that we sell in the market place? or also third party Products that our enterprise has purchased for internal use? Should we include Operating Systems, net"

    Adib M. - "Any answer after this video won't compare. Not an expert. With that caveat out of the way, here is my answer I'd break this work into different phases = Discovery Phase, Planning Phase, Execution Phase, Monitoring phase, Ongoing Discovery : How many Products does this enterprise have? Are we talking about internally developed Products that we sell in the market place? or also third party Products that our enterprise has purchased for internal use? Should we include Operating Systems, net"See full answer

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

  • Amazon logoAsked at Amazon 
    +3

    "As an engineering manager, motivation is key to the success of the team. Here are some ways to motivate the team: Set clear goals: Clearly defined goals help team members understand what they're working towards and give them a sense of purpose. Offer growth opportunities: Providing opportunities for professional development and advancement can increase motivation and job satisfaction. Provide recognition and rewards: Recognising and rewarding team members for their hard work and achieve"

    Santhosh K. - "As an engineering manager, motivation is key to the success of the team. Here are some ways to motivate the team: Set clear goals: Clearly defined goals help team members understand what they're working towards and give them a sense of purpose. Offer growth opportunities: Providing opportunities for professional development and advancement can increase motivation and job satisfaction. Provide recognition and rewards: Recognising and rewarding team members for their hard work and achieve"See full answer

    Engineering Manager
    Behavioral
    +1 more
  • Microsoft logoAsked at Microsoft 

    "Ask my manager how urgent is my task and why it should be done if needed. If its urgent enough and I can’t wait, communicate with team explaining what goals going to be achieved by implementing and why its important"

    Anonymous Starfish - "Ask my manager how urgent is my task and why it should be done if needed. If its urgent enough and I can’t wait, communicate with team explaining what goals going to be achieved by implementing and why its important"See full answer

    Software Engineer
    Behavioral
  • Amazon logoAsked at Amazon 

    "Achieving your metric of success (Daily Active Users, Engagement etc.) Improving user sentiment in their experience of using the product Attention given to accessibility, visual design and content hierarchy The product design aligns with goals and branding of company Product clearly communicates value to our users and helps them achieve their goals"

    Ben G. - "Achieving your metric of success (Daily Active Users, Engagement etc.) Improving user sentiment in their experience of using the product Attention given to accessibility, visual design and content hierarchy The product design aligns with goals and branding of company Product clearly communicates value to our users and helps them achieve their goals"See full answer

    Solutions Architect
    Behavioral
    +2 more
  • Anthropic logoAsked at Anthropic 
    Product Manager
    Artificial Intelligence
    +3 more
  • "During my time as a Product Manager, we were preparing for a major product release with a tight deadline and discovered that implementing both a new feature and crucial performance improvements wasn't feasible within the timeframe. So, I organized a meeting with stakeholders to assess the impact of each option. We analyzed user data, projected ROI, and considered long-term product strategy. Ultimately, I decided to prioritize the performance improvements. As a result, the product launched on tim"

    Vaishnavi T. - "During my time as a Product Manager, we were preparing for a major product release with a tight deadline and discovered that implementing both a new feature and crucial performance improvements wasn't feasible within the timeframe. So, I organized a meeting with stakeholders to assess the impact of each option. We analyzed user data, projected ROI, and considered long-term product strategy. Ultimately, I decided to prioritize the performance improvements. As a result, the product launched on tim"See full answer

    Product Manager
    Behavioral
    +1 more
  • Google logoAsked at Google 
    Video answer for 'Design a high-tech gym.'
    +1

    "[2:53 pm, 02/12/2021] Mayank: Before we deep dive into brainstorming the solution I go ahead and make few assumptions for clarifying questions: Step-1- Framing a problem 🎯Why users go to gym? To relieve stress by doing exercise To maintain their body To reduce their weight To remain active To make good physique 🎯Who goes to gym? Couples Group of friends Individuals Here we are trying to design high tech gym so it means we are looking to create good experience-and"

    Mayank S. - "[2:53 pm, 02/12/2021] Mayank: Before we deep dive into brainstorming the solution I go ahead and make few assumptions for clarifying questions: Step-1- Framing a problem 🎯Why users go to gym? To relieve stress by doing exercise To maintain their body To reduce their weight To remain active To make good physique 🎯Who goes to gym? Couples Group of friends Individuals Here we are trying to design high tech gym so it means we are looking to create good experience-and"See full answer

    Data Engineer
    Product Design
  • "Clarification: Why South Korea and why Google has expanded their yet. I know there are some government security concerns which have bene in place but how is this integration going to expand Is this something like Google Maps itself or is it tailored to particular needs or region Google Mission & Why we want to expand? Google mission is to organize world's information and make it universally available. The Google Map in South Korea aligns with this as it will help people navigate through t"

    Charmi S. - "Clarification: Why South Korea and why Google has expanded their yet. I know there are some government security concerns which have bene in place but how is this integration going to expand Is this something like Google Maps itself or is it tailored to particular needs or region Google Mission & Why we want to expand? Google mission is to organize world's information and make it universally available. The Google Map in South Korea aligns with this as it will help people navigate through t"See full answer

    Product Manager
    Product Strategy
  • +5

    "Situation - A situation where I used creative / innovative thinking to eliminate frustration with a product was while I was working on Point of Sale and Polaris for Retail Design System for Shopify. Upon seeing our vision for the future of this design system, it lacked a lot of the visual polish and necessary components that would make the product much more competitive in the market - this included having a lack of an interaction model for what is tappable vs. not tappable as well as containmen"

    Ben G. - "Situation - A situation where I used creative / innovative thinking to eliminate frustration with a product was while I was working on Point of Sale and Polaris for Retail Design System for Shopify. Upon seeing our vision for the future of this design system, it lacked a lot of the visual polish and necessary components that would make the product much more competitive in the market - this included having a lack of an interaction model for what is tappable vs. not tappable as well as containmen"See full answer

    Product Designer
    Behavioral
    +1 more
  • Engineering Manager
    Behavioral
    +1 more
  • Paytm logoAsked at Paytm 
    Backend Engineer
    Product Design
    +1 more
  • Stripe logoAsked at Stripe 
    Engineering Manager
    System Design
  • Lyft logoAsked at Lyft 
    +7

    "I would ask what are the currently supported modes of transport. Assuming cars, luxury cars, transit. Bike and scooter is off limits. Also assuming Lyft is available only in the US currently. Then I would start off with the Goal. Why does Lyft want to launch a new mode of transport. Assuming possible reasons in order of priority: 1) To gain market share 2) To gain new users (riders/drivers) 3) Improve experience of users (riders/drivers) Do we have restrictions on country that we can l"

    Unicorn 2. - "I would ask what are the currently supported modes of transport. Assuming cars, luxury cars, transit. Bike and scooter is off limits. Also assuming Lyft is available only in the US currently. Then I would start off with the Goal. Why does Lyft want to launch a new mode of transport. Assuming possible reasons in order of priority: 1) To gain market share 2) To gain new users (riders/drivers) 3) Improve experience of users (riders/drivers) Do we have restrictions on country that we can l"See full answer

    Product Design
    Product Strategy
  • Google logoAsked at Google 

    "Do any one know how to build trie using IP address?"

    Graig - "Do any one know how to build trie using IP address?"See full answer

    Software Engineer
    System Design
  • Google logoAsked at Google 

    "Clarification: Reddit, homepage of the internet, a place that aggregates news, and topics of interest, on some type of a timeline. users can subscribe to sub reddits. Goal is to address bullying. Define bullying as any form of abuse either verbal or via images, or harassment of any kind. It could be personal, directed towards a gender, a political view or ideology, religion and any kind of identity being abused in a manner so as to intentionally cause hurt and abuse. Goal: To reduce bullying,"

    Shiva S. - "Clarification: Reddit, homepage of the internet, a place that aggregates news, and topics of interest, on some type of a timeline. users can subscribe to sub reddits. Goal is to address bullying. Define bullying as any form of abuse either verbal or via images, or harassment of any kind. It could be personal, directed towards a gender, a political view or ideology, religion and any kind of identity being abused in a manner so as to intentionally cause hurt and abuse. Goal: To reduce bullying,"See full answer

    Analytical
    Execution
    +1 more
  • "During the course of my career, I have had the opportunity to fill a variety of roles. I’ve been a business analyst, a consultant, a project manager, a scrum master, a product owner, and a product manager. Each of these has had aspects that I have enjoyed. There are a few that standout though over everything else. First is that I have a passion for working with people. In each of these roles, my favorite part was always working with a diverse range of individuals from various levels of the orga"

    John F. - "During the course of my career, I have had the opportunity to fill a variety of roles. I’ve been a business analyst, a consultant, a project manager, a scrum master, a product owner, and a product manager. Each of these has had aspects that I have enjoyed. There are a few that standout though over everything else. First is that I have a passion for working with people. In each of these roles, my favorite part was always working with a diverse range of individuals from various levels of the orga"See full answer

    Product Manager
    Behavioral
Showing 941-960 of 4415