Interview Questions

Review this list of 4,065 interview questions and answers verified by hiring managers and candidates.
  • Apple logoAsked at Apple 

    "Minimum viable product is a product with a minimum set of features that are sufficient to gather information if customers are going to use it or are sufficient to answer the questions for the problems that are we are specifically trying to solve. In order to prioritize features it is critical to consider following points. What is the problem we are trying to solve? Understand the context. Identify the features that you need to solve the problem while ensuring that features are in sync with"

    Abhilash K. - "Minimum viable product is a product with a minimum set of features that are sufficient to gather information if customers are going to use it or are sufficient to answer the questions for the problems that are we are specifically trying to solve. In order to prioritize features it is critical to consider following points. What is the problem we are trying to solve? Understand the context. Identify the features that you need to solve the problem while ensuring that features are in sync with"See full answer

    Product Design
    Product Strategy
  • Discord logoAsked at Discord 
    Data Scientist
    Behavioral
    +4 more
  • Google logoAsked at Google 

    "Assume you have a talking toy that can record voice. Machine learning is this magic that you could use to make this toy really useful for yourself. For a week - talk to this toy about your favorite color, favorite breakfast, what kind of weather you like, so on. The following week you could ask questions like today's weather is so and so - what breakfast should I have? , when should I plan a play date with my friends etc.."

    Srinivas P. - "Assume you have a talking toy that can record voice. Machine learning is this magic that you could use to make this toy really useful for yourself. For a week - talk to this toy about your favorite color, favorite breakfast, what kind of weather you like, so on. The following week you could ask questions like today's weather is so and so - what breakfast should I have? , when should I plan a play date with my friends etc.."See full answer

    Product Manager
    Behavioral
  • +5

    "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
  • Product Manager
  • 🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.

  • Spotify logoAsked at Spotify 

    Balanced Tree

    IDE
    Medium
    +6

    "function visitChildren(node) { let leftSubtreeHeight = 0; let rightSubtreeHeight = 0; let isChildrenBalanced = true; if (node.left) { const { isBalanced, height } = visitChildren(node.left); isChildrenBalanced = isChildrenBalanced && isBalanced; leftSubtreeHeight += height + 1; } if (isChildrenBalanced && node.right) { const { isBalanced, height } = visitChildren(node.right); isChildrenBalanced = isChildrenBalanced && isBalan"

    Tiago R. - "function visitChildren(node) { let leftSubtreeHeight = 0; let rightSubtreeHeight = 0; let isChildrenBalanced = true; if (node.left) { const { isBalanced, height } = visitChildren(node.left); isChildrenBalanced = isChildrenBalanced && isBalanced; leftSubtreeHeight += height + 1; } if (isChildrenBalanced && node.right) { const { isBalanced, height } = visitChildren(node.right); isChildrenBalanced = isChildrenBalanced && isBalan"See full answer

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

    "Asked clarifying questions, this was similar to box. Took a minute to gather thoughts. Came up with a structured approach. Focused on use cases, prioritized it. They wanted to focus on security aspects, MFA, simultaneous read/write operations, etc."

    Shahid K. - "Asked clarifying questions, this was similar to box. Took a minute to gather thoughts. Came up with a structured approach. Focused on use cases, prioritized it. They wanted to focus on security aspects, MFA, simultaneous read/write operations, etc."See full answer

    Product Manager
    Product Design
    +1 more
  • Meta (Facebook) logoAsked at Meta (Facebook) 
    Video answer for 'Sort a doubly linked list using merge sort.'
    +4

    " from typing import Optional class Node: def init(self, val: int, prev: Optional['Node'] = None, next: Optional['Node'] = None): self.val = val self.prev = prev self.next = next def split(head): if not head or not head.next: return head slow = head fast = head.next while fast and fast.next: slow = slow.next fast = fast.next.next mid = slow.next slow.next = None if mid: mid.prev = None "

    Akash C. - " from typing import Optional class Node: def init(self, val: int, prev: Optional['Node'] = None, next: Optional['Node'] = None): self.val = val self.prev = prev self.next = next def split(head): if not head or not head.next: return head slow = head fast = head.next while fast and fast.next: slow = slow.next fast = fast.next.next mid = slow.next slow.next = None if mid: mid.prev = None "See full answer

    Coding
    Data Structures & Algorithms
    +1 more
  • "Why? Uber is on demand platform, that leverages shared economy to power movement from Point A to B. Ubers business today is around 3 primary segments - Mobility, Deliveries, Freight. Mobility is the core product that enables riders to move from point A to Point B Using variety vehicles. Segment Users based on Usage / Frequency Daily - Prefers frequent but short trips, values convenience Occasional - Business professionals, even"

    Anjali M. - "Why? Uber is on demand platform, that leverages shared economy to power movement from Point A to B. Ubers business today is around 3 primary segments - Mobility, Deliveries, Freight. Mobility is the core product that enables riders to move from point A to Point B Using variety vehicles. Segment Users based on Usage / Frequency Daily - Prefers frequent but short trips, values convenience Occasional - Business professionals, even"See full answer

    Product Manager
    Product Strategy
  • "Initially I asked clarifying questions like whether the tree can be empty or not and asked the interviewer to explain what is meant by left view and the explanation for the sample inputs. Then I came up with the level order traversal approach where we visit each level in the binary tree at once using a queue and at each level print the value of the first node. Interviewer seemed satisfied with the approach and asked me to code it up. Finally gave the time and space complexity of the solution."

    Ds S. - "Initially I asked clarifying questions like whether the tree can be empty or not and asked the interviewer to explain what is meant by left view and the explanation for the sample inputs. Then I came up with the level order traversal approach where we visit each level in the binary tree at once using a queue and at each level print the value of the first node. Interviewer seemed satisfied with the approach and asked me to code it up. Finally gave the time and space complexity of the solution."See full answer

    Software Engineer
  • "Get data from database CDC to Kafka; Write from Kafka to a Bucket; Send the batch file to Visa from time to time;"

    Roger R. - "Get data from database CDC to Kafka; Write from Kafka to a Bucket; Send the batch file to Visa from time to time;"See full answer

    Software Engineer
    System Design
  • Atlassian logoAsked at Atlassian 

    "asdsad"

    Develop games G. - "asdsad"See full answer

    Engineering Manager
    Product Design
    +2 more
  • +3

    "The obvious thing would be explain to them the reason for saying no. But that will not help you in building strong relationships with your stakeholder. First step would be to listen - understand the reason behind their request. Their opinion should be heard. Once you have done that, only then steer the conversation in the direction of logical reasoning for your stance. Also, you could talk to them about some of the competing priorities which would be more impactful, so that they unders"

    Nishant S. - "The obvious thing would be explain to them the reason for saying no. But that will not help you in building strong relationships with your stakeholder. First step would be to listen - understand the reason behind their request. Their opinion should be heard. Once you have done that, only then steer the conversation in the direction of logical reasoning for your stance. Also, you could talk to them about some of the competing priorities which would be more impactful, so that they unders"See full answer

    Behavioral
  • Google logoAsked at Google 

    "Google VR mission - my understanding is to provide user an immersive experience where your room is the exploration ground/canvas and consumer has limitless possibilities What i know about VR : VR umbrella: Daydream and Cardboard VR devices: Headset/Cardboard/Desktop/Mobile VR product: Google Maps VR/ Carboard VR/Youtube VR/ TiltBrush/ Blocks VR feature: High quality video/ low latency video? Which product are we adding a new feature to? Tilt Brush which device are we implementing the new feat"

    Praniti S. - "Google VR mission - my understanding is to provide user an immersive experience where your room is the exploration ground/canvas and consumer has limitless possibilities What i know about VR : VR umbrella: Daydream and Cardboard VR devices: Headset/Cardboard/Desktop/Mobile VR product: Google Maps VR/ Carboard VR/Youtube VR/ TiltBrush/ Blocks VR feature: High quality video/ low latency video? Which product are we adding a new feature to? Tilt Brush which device are we implementing the new feat"See full answer

    Analytical
    Behavioral
    +1 more
  • Amazon logoAsked at Amazon 

    "Situation - A time I saw a peer struggling was while I was at Google working in Mountain View. A fellow colleague of mine was consistently not meeting standards in his performance reviews and wasn’t sure why. He was upset because Google was his dream company and he wasn’t sure how to improve based on his feedback. Task - I was tasked to design a based VUI framework for our discovery space on smart displays. This colleague was acting as the VUI lead for the project while I acted as t"

    Ben G. - "Situation - A time I saw a peer struggling was while I was at Google working in Mountain View. A fellow colleague of mine was consistently not meeting standards in his performance reviews and wasn’t sure why. He was upset because Google was his dream company and he wasn’t sure how to improve based on his feedback. Task - I was tasked to design a based VUI framework for our discovery space on smart displays. This colleague was acting as the VUI lead for the project while I acted as t"See full answer

    Software Engineer
    Behavioral
    +3 more
  • Mixpanel logoAsked at Mixpanel 

    "Improve Swiggy’s Revenue What time period? Improve to what extent? Increasing Swiggy’s revenue in next one year (assume) Any specific segment of Business? Swiggy’s Mission Statement : To make food eating experience as comfortable, convenient & authentic. Type of Business Swiggy is in Food Delivery Grocery Delivery - Instamart Dining Let’s Aim for one Business line say Food Delivery lets breakdown the revenue maths for the business and see what we can do to improve revenue F"

    Meet P. - "Improve Swiggy’s Revenue What time period? Improve to what extent? Increasing Swiggy’s revenue in next one year (assume) Any specific segment of Business? Swiggy’s Mission Statement : To make food eating experience as comfortable, convenient & authentic. Type of Business Swiggy is in Food Delivery Grocery Delivery - Instamart Dining Let’s Aim for one Business line say Food Delivery lets breakdown the revenue maths for the business and see what we can do to improve revenue F"See full answer

    Product Strategy
  • "Clarification questions: Is it correct to assume that I am an insurance company provide insurance coverage for Waymo? yes Is it safe to assume that we are talking about self-driving cars (no drivers)? yes Several factors are taken into consideration when insurance companies provide insurance quotes (please not that all of these will apply to self-driving cars): M/F Age Years of driving experience Driving record Expected miles driven / year Cost of vehicle If car will be used for c"

    GSWarriors - "Clarification questions: Is it correct to assume that I am an insurance company provide insurance coverage for Waymo? yes Is it safe to assume that we are talking about self-driving cars (no drivers)? yes Several factors are taken into consideration when insurance companies provide insurance quotes (please not that all of these will apply to self-driving cars): M/F Age Years of driving experience Driving record Expected miles driven / year Cost of vehicle If car will be used for c"See full answer

    Analytical
  • "To scale web applications, one must concentrate on having Shared hosting / Dedicated server CDN (for images servers) Caching techniques Database Sharding Adding/removing webservers on the fly In order to improve the speed of the web applications, certain techniques to look at : Web hosts - Shared hosting / dedicated server CDN Caching techniques Compression techniques Reduced use of plugins, check Java script / CSS files Pre-fetch : If we are aware that th"

    Googlepm 1. - "To scale web applications, one must concentrate on having Shared hosting / Dedicated server CDN (for images servers) Caching techniques Database Sharding Adding/removing webservers on the fly In order to improve the speed of the web applications, certain techniques to look at : Web hosts - Shared hosting / dedicated server CDN Caching techniques Compression techniques Reduced use of plugins, check Java script / CSS files Pre-fetch : If we are aware that th"See full answer

    Technical
  • "Implemented the Java code to find the largest island. It is similar to count the island. But in this we need to keep track of max island and compute its perimeter."

    Techzen I. - "Implemented the Java code to find the largest island. It is similar to count the island. But in this we need to keep track of max island and compute its perimeter."See full answer

    Machine Learning Engineer
    Data Structures & Algorithms
    +2 more
Showing 1761-1780 of 4065