Interview Questions

Review this list of 4,138 interview questions and answers verified by hiring managers and candidates.
  • 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
  • +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
  • Engineering Manager
    Program Sense
    +1 more
  • +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
  • 🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.

  • 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
  • LinkedIn logoAsked at LinkedIn 
    Product Manager
    Product Design
  • Google logoAsked at Google 
    Product Designer
    Behavioral
  • 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
  • +11

    "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
  • "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
  • Microsoft logoAsked at Microsoft 
    Video answer for 'Find the number of rotations in a circularly sorted array.'
    +8

    "function countRotations(arr, low, high) { if (high low && arr[mid] arr[mid]) { return countRotations(arr, low, mid - 1); } return countRotations(arr, mid + 1, high); } "

    Ugo C. - "function countRotations(arr, low, high) { if (high low && arr[mid] arr[mid]) { return countRotations(arr, low, mid - 1); } return countRotations(arr, mid + 1, high); } "See full answer

    Software Engineer
    Data Structures & Algorithms
    +1 more
  • +9

    "WITH previous AS(SELECT viewer_id, watch_hours, LAG(watchhours) OVER(PARTITION BY viewerid ORDER BY year, month) AS previous_hours, year, month FROM watch_time GROUP BY viewer_id, year, month ), streaks AS(SELECT viewer_id, SUM(CASE WHEN previoushours IS NOT NULL AND previoushours = 3 `"

    Alvin P. - "WITH previous AS(SELECT viewer_id, watch_hours, LAG(watchhours) OVER(PARTITION BY viewerid ORDER BY year, month) AS previous_hours, year, month FROM watch_time GROUP BY viewer_id, year, month ), streaks AS(SELECT viewer_id, SUM(CASE WHEN previoushours IS NOT NULL AND previoushours = 3 `"See full answer

    Coding
    SQL
  • Adobe logoAsked at Adobe 
    +19

    " O(n) time, O(1) space from typing import List def maxsubarraysum(nums: List[int]) -> int: if len(nums) == 0: return 0 maxsum = currsum = nums[0] for i in range(1, len(nums)): currsum = max(currsum + nums[i], nums[i]) maxsum = max(currsum, max_sum) return max_sum debug your code below print(maxsubarraysum([-1, 2, -3, 4])) `"

    Rick E. - " O(n) time, O(1) space from typing import List def maxsubarraysum(nums: List[int]) -> int: if len(nums) == 0: return 0 maxsum = currsum = nums[0] for i in range(1, len(nums)): currsum = max(currsum + nums[i], nums[i]) maxsum = max(currsum, max_sum) return max_sum debug your code below print(maxsubarraysum([-1, 2, -3, 4])) `"See full answer

    Software Engineer
    Data Structures & Algorithms
    +4 more
  • "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
  • 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
  • BizOps & Strategy
    Behavioral
  • Business Analyst
    Data Analysis
    +2 more
Showing 1801-1820 of 4138