Interview Questions

Review this list of 3,944 interview questions and answers verified by hiring managers and candidates.
  • Microsoft logoAsked at Microsoft 
    Technical Program Manager
    Behavioral
  • "Attempted the answer. Feedback appreciated. Thanks! Mission: LinkedIn mission statement is to “connect the world's professionals to make them more productive and successful.” LinkedIn Feed: People You Know, Talking About Things You Care About. One of things can be done is look for Existing engagement metrics that LinkedIn news feed may have. Look for data where engagement is low and understand why and come up with a hypothesis for that. For this exercise will assume there is no pro"

    Madhumita M. - "Attempted the answer. Feedback appreciated. Thanks! Mission: LinkedIn mission statement is to “connect the world's professionals to make them more productive and successful.” LinkedIn Feed: People You Know, Talking About Things You Care About. One of things can be done is look for Existing engagement metrics that LinkedIn news feed may have. Look for data where engagement is low and understand why and come up with a hypothesis for that. For this exercise will assume there is no pro"See full answer

    Product Design
  • Product Manager
    Product Strategy
  • Airbnb logoAsked at Airbnb 

    "Colleague moved to a different role, so I decided to fill in and did outshine in showing results within the group."

    Raunak K. - "Colleague moved to a different role, so I decided to fill in and did outshine in showing results within the group."See full answer

    Software Engineer
    Behavioral
    +2 more
  • Nvidia logoAsked at Nvidia 
    Product Manager
    Behavioral
    +1 more
  • 🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.

  • Product Manager
    Analytical
    +1 more
  • +9

    "function spiralCopy(inputMatrix) { if (inputMatrix.length === 1) return inputMatrix[0]; let lowerY = 0; let upperY = inputMatrix.length-1; let lowerX = 0; let upperX = inputMatrix[0].length-1; const output = []; while (true) { if (lowerX > upperX) break; for (let x = lowerX; x upperY) break; for (let y = lowerY; y <= upperY; y++) { output.push(inputMatrix[y][u"

    Tiago R. - "function spiralCopy(inputMatrix) { if (inputMatrix.length === 1) return inputMatrix[0]; let lowerY = 0; let upperY = inputMatrix.length-1; let lowerX = 0; let upperX = inputMatrix[0].length-1; const output = []; while (true) { if (lowerX > upperX) break; for (let x = lowerX; x upperY) break; for (let y = lowerY; y <= upperY; y++) { output.push(inputMatrix[y][u"See full answer

    Data Structures & Algorithms
    Coding
  • 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
  • Data Analyst
    Data Analysis
    +2 more
  • "Clarifying questions and assumptions: Personalised news feed is the culmination of curated posts, events, ads , videos, etc that is unique to each user. potentially this means that no 2 feeds are the same. I am assuming we are talking about the Facebook Blue app, since the term Newsfeed is generally associated with this app although the feed on Insta too is personalised. Thank you for this question. here is how i would structure my thoughts on arriving at success metrics for Personalised Ne"

    Sneha S. - "Clarifying questions and assumptions: Personalised news feed is the culmination of curated posts, events, ads , videos, etc that is unique to each user. potentially this means that no 2 feeds are the same. I am assuming we are talking about the Facebook Blue app, since the term Newsfeed is generally associated with this app although the feed on Insta too is personalised. Thank you for this question. here is how i would structure my thoughts on arriving at success metrics for Personalised Ne"See full answer

    Product Manager
    Analytical
  • +1

    "Clarification LinkedIn Premium is a premium offering for LinkedIn members through which they get access to some additional features that are not available in the free version. Members can use these features to meet their goals When we talk about LinkedIn premium we are focused on the career product and not the sales / recruiter products? —> Yes, focused on individual members. Sales needs are solved through sales navigator and recuriter lite which are specialized premium tools *Goals"

    stash - "Clarification LinkedIn Premium is a premium offering for LinkedIn members through which they get access to some additional features that are not available in the free version. Members can use these features to meet their goals When we talk about LinkedIn premium we are focused on the career product and not the sales / recruiter products? —> Yes, focused on individual members. Sales needs are solved through sales navigator and recuriter lite which are specialized premium tools *Goals"See full answer

    Product Strategy
    Product Design
  • +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
  • Coding
    Data Structures & Algorithms
  • "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
  • Apple logoAsked at Apple 

    "A red-black tree is a self-balancing binary search tree. The motivation for this is that the benefits of O(logN) search, insertion, and deletion that a binary tree provides us will disappear if we let the tree get too "imbalanced" (e.g. there are too many nodes on one side of the tree or some branches have a depth that is way out of proportion to the average branch depth). This imbalance will occur if we don't adjust the tree after inserting or deleting nodes, hence our need for self-balancing c"

    Alex M. - "A red-black tree is a self-balancing binary search tree. The motivation for this is that the benefits of O(logN) search, insertion, and deletion that a binary tree provides us will disappear if we let the tree get too "imbalanced" (e.g. there are too many nodes on one side of the tree or some branches have a depth that is way out of proportion to the average branch depth). This imbalance will occur if we don't adjust the tree after inserting or deleting nodes, hence our need for self-balancing c"See full answer

    Software Engineer
    Data Structures & Algorithms
    +1 more
  • Meta (Facebook) logoAsked at Meta (Facebook) 
    Video answer for 'Sort a doubly linked list using merge sort.'
    +4

    "function merge(L1, L2) { let L3 = { data: null, next: null }; let prev = L3; while (L1 != null || L2 != null) { if (L1 == null) { prev.next = L2; L2 = L2.next; } else if (L2 == null) { prev.next = L1; L1 = L1.next; } else if (L1.data < L2.data) { prev.next = L1; L1 = L1.next; } else { prev.next = L2; L2 = L2.next; } prev = prev.next; } return L3.next; }"

    Ugo C. - "function merge(L1, L2) { let L3 = { data: null, next: null }; let prev = L3; while (L1 != null || L2 != null) { if (L1 == null) { prev.next = L2; L2 = L2.next; } else if (L2 == null) { prev.next = L1; L1 = L1.next; } else if (L1.data < L2.data) { prev.next = L1; L1 = L1.next; } else { prev.next = L2; L2 = L2.next; } prev = prev.next; } return L3.next; }"See full answer

    Coding
    Data Structures & Algorithms
    +1 more
  • Better.com logoAsked at Better.com 

    "Hard worker, positive attitude and arrives ready to work with no emotional issues."

    Amparo L. - "Hard worker, positive attitude and arrives ready to work with no emotional issues."See full answer

    Product Designer
    Behavioral
  • "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
  • Atlassian logoAsked at Atlassian 

    "asdsad"

    Develop games G. - "asdsad"See full answer

    Engineering Manager
    Product Design
    +2 more
Showing 1721-1740 of 3944