Interview Questions

Review this list of 3,984 interview questions and answers verified by hiring managers and candidates.
  • Software Engineer
    Behavioral
  • Capital One logoAsked at Capital One 
    Product Manager
    Analytical
  • Adobe logoAsked at Adobe 
    +7

    "from typing import List def find_primes(n: int) -> List[int]: if n < 2: # Handle edge cases explicitly return [] Initialize a boolean list to track primality is_prime = [True] * (n + 1) isprime[0] = isprime[1] = False # 0 and 1 are not primes p = 2 while p * p <= n: # Loop until sqrt(n) if is_prime[p]: # Only process if 'p' is still marked as prime Mark multiples of p as non-prime for multiple in range(p * p,"

    Anonymous Roadrunner - "from typing import List def find_primes(n: int) -> List[int]: if n < 2: # Handle edge cases explicitly return [] Initialize a boolean list to track primality is_prime = [True] * (n + 1) isprime[0] = isprime[1] = False # 0 and 1 are not primes p = 2 while p * p <= n: # Loop until sqrt(n) if is_prime[p]: # Only process if 'p' is still marked as prime Mark multiples of p as non-prime for multiple in range(p * p,"See full answer

    Data Engineer
    Data Structures & Algorithms
    +4 more
  • Stripe logoAsked at Stripe 
    Video answer for 'How can Stripe use data to predict the optimal time to retry a transaction?'
    Data Scientist
    Analytical
    +1 more
  • "Clarifying questions: What do we mean by a video conferencing app? Zoom or Messenger? A: More like Zoom Is the app for B2B users or C2C users? A: Dealer's choice What stage is this app at? Early-stage or has been in the market for a while? A: Current Player This question will help decide if you will focus on Adoption or Engagement and retention... Is there a specific market or user group we need to focus on? A: Dealer's choice Is it a paid or free service? A: Both The structure"

    Ammro H. - "Clarifying questions: What do we mean by a video conferencing app? Zoom or Messenger? A: More like Zoom Is the app for B2B users or C2C users? A: Dealer's choice What stage is this app at? Early-stage or has been in the market for a while? A: Current Player This question will help decide if you will focus on Adoption or Engagement and retention... Is there a specific market or user group we need to focus on? A: Dealer's choice Is it a paid or free service? A: Both The structure"See full answer

    Product Manager
    Execution
    +2 more
  • 🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.

  • Adobe logoAsked at Adobe 
    Video answer for 'Find a triplet in an array with a given sum.'
    +7

    " import java.util.*; class Solution { // Time Complexity: O(n^2) // Space Complexity: O(n) public static List> threeSum(int[] nums) { // Ensure that the array is sorted first Arrays.sort(nums); // Create the results list to return List> results = new ArrayList(); // Iterate over the length of nums for (int i = 0; i < nums.length-2; i++) { // We will have the first number in"

    Victor O. - " import java.util.*; class Solution { // Time Complexity: O(n^2) // Space Complexity: O(n) public static List> threeSum(int[] nums) { // Ensure that the array is sorted first Arrays.sort(nums); // Create the results list to return List> results = new ArrayList(); // Iterate over the length of nums for (int i = 0; i < nums.length-2; i++) { // We will have the first number in"See full answer

    Software Engineer
    Data Structures & Algorithms
    +3 more
  • "If I were a Google PM in charge of the next Android keynote product announcement in 3 years, I would build the following: A more secure and privacy-focused Android platform. This is because security and privacy are becoming increasingly important to users. In the past few years, we have seen a number of high-profile data breaches, and users are becoming more aware of the risks of having their personal information online. A more secure and privacy-focused Android platform would help to add"

    Ramandeep S. - "If I were a Google PM in charge of the next Android keynote product announcement in 3 years, I would build the following: A more secure and privacy-focused Android platform. This is because security and privacy are becoming increasingly important to users. In the past few years, we have seen a number of high-profile data breaches, and users are becoming more aware of the risks of having their personal information online. A more secure and privacy-focused Android platform would help to add"See full answer

    Product Manager
    Product Design
    +1 more
  • Amazon logoAsked at Amazon 

    "We want sales to grow, in order to have a growth in revenue. And customer usage as well as it allows to see if our product lead more engagement from our users. So to be able to see this overall evolution I would make a line chart for both : Sales : with month on x-axis and sales revenue on y-axis Customer Usage : with month on x-axis and a KPI allowing to measure customer usage (nblogins or nbsessions or nbgamesplayed, ... depending on the industry) on y-axis Moreover, after knowing th"

    Catherine T. - "We want sales to grow, in order to have a growth in revenue. And customer usage as well as it allows to see if our product lead more engagement from our users. So to be able to see this overall evolution I would make a line chart for both : Sales : with month on x-axis and sales revenue on y-axis Customer Usage : with month on x-axis and a KPI allowing to measure customer usage (nblogins or nbsessions or nbgamesplayed, ... depending on the industry) on y-axis Moreover, after knowing th"See full answer

    Business Analyst
    Data Analysis
    +2 more
  • Adobe logoAsked at Adobe 
    Video answer for 'Given an nxn grid of 1s and 0s, return the number of islands in the input.'
    +10

    " from typing import List def getnumberof_islands(binaryMatrix: List[List[int]]) -> int: if not binaryMatrix: return 0 rows = len(binaryMatrix) cols = len(binaryMatrix[0]) islands = 0 for r in range(rows): for c in range(cols): if binaryMatrixr == 1: islands += 1 dfs(binaryMatrix, r, c) return islands def dfs(grid, r, c): if ( r = len(grid) "

    Rick E. - " from typing import List def getnumberof_islands(binaryMatrix: List[List[int]]) -> int: if not binaryMatrix: return 0 rows = len(binaryMatrix) cols = len(binaryMatrix[0]) islands = 0 for r in range(rows): for c in range(cols): if binaryMatrixr == 1: islands += 1 dfs(binaryMatrix, r, c) return islands def dfs(grid, r, c): if ( r = len(grid) "See full answer

    Software Engineer
    Data Structures & Algorithms
    +4 more
  • "First, I'd like to ask some clarifying questions and try to narrow down the scope of this question. Among them I would like to ask: Are we looking to optimize for a specific goal or metric? Eg: we want more users/queries or are we looking to increase revenue? Are we testing over a specific aspect of Bing? EG: UI, search quality results, recommendation engine, etc. Duration and size of the test. Available resources or constraints (teams, technology, budget) Now, to ass"

    Alfredo M. - "First, I'd like to ask some clarifying questions and try to narrow down the scope of this question. Among them I would like to ask: Are we looking to optimize for a specific goal or metric? Eg: we want more users/queries or are we looking to increase revenue? Are we testing over a specific aspect of Bing? EG: UI, search quality results, recommendation engine, etc. Duration and size of the test. Available resources or constraints (teams, technology, budget) Now, to ass"See full answer

    Technical Program Manager
    Analytical
  • "In the expected value of a coupon problem, you calculated variance of a binomial distribution, and used the satandard deviation, square root of variance, to calculate the confidence interval. Will that approach work the same here? For fair coin: (Heads = 0, tails = 1) Var = 10 * (.5)(1-.5) = 2.5 Stdev = Sqrt(2.5) = 1.581 Mean = 5 Z-score = (Observed Val - Mean) / Stdev = (10 - 5) / 1.581 = 3.164 P val = 0.0008% (Slightly different from the video's solution of 0.00097) Pros of this approach: It"

    Connor W. - "In the expected value of a coupon problem, you calculated variance of a binomial distribution, and used the satandard deviation, square root of variance, to calculate the confidence interval. Will that approach work the same here? For fair coin: (Heads = 0, tails = 1) Var = 10 * (.5)(1-.5) = 2.5 Stdev = Sqrt(2.5) = 1.581 Mean = 5 Z-score = (Observed Val - Mean) / Stdev = (10 - 5) / 1.581 = 3.164 P val = 0.0008% (Slightly different from the video's solution of 0.00097) Pros of this approach: It"See full answer

    Statistics & Experimentation
  • Databricks logoAsked at Databricks 
    Video answer for 'What is your leadership style?'
    +7

    "My leadership style is flexible and adaptive, it varies depending on the team members and the needs of the company. My leadership goal is to empower the team and inspire and grow leaders. In order to achieve that, I combine transformational, democratic and coaching leadership styles. Usually when we are facing a new type of challenge, or at the early stage of a project, I like to adapt the transformational leadership which allows me to listen to all the suggestions from the team members and sta"

    onering2ruleall - "My leadership style is flexible and adaptive, it varies depending on the team members and the needs of the company. My leadership goal is to empower the team and inspire and grow leaders. In order to achieve that, I combine transformational, democratic and coaching leadership styles. Usually when we are facing a new type of challenge, or at the early stage of a project, I like to adapt the transformational leadership which allows me to listen to all the suggestions from the team members and sta"See full answer

    Engineering Manager
    Behavioral
    +4 more
  • Coding
    Machine Learning
  • "Thanks for the question - What is your definition of the challenges - There can be multiple gaps and opportunities - Is there any specific opportunity you want me to look - Are free to assume My understanding of online purchase can be card not present or e-commerce - any specific you want to look Region - USA Goal - Feel free to assume - Trust Timeline - Say about a year Take a pause - Segment 1 - Online shoppers only Segment 2 - Strictly Brick and Mortar Segment 3 - S"

    Product V. - "Thanks for the question - What is your definition of the challenges - There can be multiple gaps and opportunities - Is there any specific opportunity you want me to look - Are free to assume My understanding of online purchase can be card not present or e-commerce - any specific you want to look Region - USA Goal - Feel free to assume - Trust Timeline - Say about a year Take a pause - Segment 1 - Online shoppers only Segment 2 - Strictly Brick and Mortar Segment 3 - S"See full answer

    Product Design
    Product Strategy
  • +3

    "Order the result in descending month is not applied in the solution"

    Alina G. - "Order the result in descending month is not applied in the solution"See full answer

    Coding
    SQL
  • "Structure: 1. Ask Clarifying Questions 2. Look at external factors 3. Look at Internal factors ( Slice the data aross different cuts and plan accordingly) Clarifying Questions: What's an outbound message? Is it something Linkedin users send among each other? Decline trends: Is the decline steep or gradual? From when, are we seeing this decline (Say since a week, fortnight, month, etc) External Factors: Have we seen any competition led changes/ new campaigns etc? Have we see"

    Meenakshi sundaram M. - "Structure: 1. Ask Clarifying Questions 2. Look at external factors 3. Look at Internal factors ( Slice the data aross different cuts and plan accordingly) Clarifying Questions: What's an outbound message? Is it something Linkedin users send among each other? Decline trends: Is the decline steep or gradual? From when, are we seeing this decline (Say since a week, fortnight, month, etc) External Factors: Have we seen any competition led changes/ new campaigns etc? Have we see"See full answer

    Execution
    Behavioral
    +1 more
  • Capital One logoAsked at Capital One 

    "Clarification/Problem What is the timeline that we're working with? (You Choose) What is the criteria for how you'd define an improvement or success? (You Choose) Is there a specific area of the DMV experience that you want me to improve? (No) Are we thinking about this from the perspective of the DMV? (Yes) What is the market that we should be thinking about or focusing on? (US) Business Objective The DMV has a couple of key goals: To help uniquely identify which vehi"

    Deric C. - "Clarification/Problem What is the timeline that we're working with? (You Choose) What is the criteria for how you'd define an improvement or success? (You Choose) Is there a specific area of the DMV experience that you want me to improve? (No) Are we thinking about this from the perspective of the DMV? (Yes) What is the market that we should be thinking about or focusing on? (US) Business Objective The DMV has a couple of key goals: To help uniquely identify which vehi"See full answer

    Product Manager
    Product Design
  • "If you effectively listen and understand their point of view, then take action to address the issue quickly. Don't let too much time slip between the conflict and the resolution. If resolving the concern will take more time, communicate the current status and next steps with the stakeholder."

    Abdurhman M. - "If you effectively listen and understand their point of view, then take action to address the issue quickly. Don't let too much time slip between the conflict and the resolution. If resolving the concern will take more time, communicate the current status and next steps with the stakeholder."See full answer

    Technical Program Manager
    Behavioral
    +1 more
Showing 1181-1200 of 3984