Interview Questions

Review this list of 4,392 interview questions and answers verified by hiring managers and candidates.
  • Amazon logoAsked at Amazon 
    Product Manager
    Behavioral
    +1 more
  • Adobe logoAsked at Adobe 
    Video answer for 'Solve John Conway's "Game of Life".'
    Software Engineer
    Data Structures & Algorithms
    +2 more
  • Engineering Manager
    Behavioral
  • "I'd do an audit of what we understand, the gaps and the risks. What information do we have and how confident do we feel? What assumptions do we have? What do we not know? What is the risk of making certain assumptions? With this information, and a pulse of your team you can get an understanding of the risk level for moving forward. If the risk is high, you need to go back to leadership with the evidence and ask for more time. **What's the risk if we don't launch on"

    James W. - "I'd do an audit of what we understand, the gaps and the risks. What information do we have and how confident do we feel? What assumptions do we have? What do we not know? What is the risk of making certain assumptions? With this information, and a pulse of your team you can get an understanding of the risk level for moving forward. If the risk is high, you need to go back to leadership with the evidence and ask for more time. **What's the risk if we don't launch on"See full answer

    Product Designer
    Behavioral
  • Adobe logoAsked at Adobe 
    +1

    "static boolean sudokuSolve(char board) { return sudokuSolve(board, 0, 0); } static boolean sudokuSolve(char board, int r, int c) { if(c>=board[0].length) { r=r+1; c=0; } if(r>=board.length) return true; if(boardr=='.') { for(int num=1; num<=9; num++) { boardr=(char)('0' + num); if(isValidPosition(board, r, c)) { if(sudokuSolve(board, r, c+1)) return true; } boardr='.'; } } else { return sudokuSolve(board, r, c+1); } return false; } static boolean isValidPosition(char b"

    Divya R. - "static boolean sudokuSolve(char board) { return sudokuSolve(board, 0, 0); } static boolean sudokuSolve(char board, int r, int c) { if(c>=board[0].length) { r=r+1; c=0; } if(r>=board.length) return true; if(boardr=='.') { for(int num=1; num<=9; num++) { boardr=(char)('0' + num); if(isValidPosition(board, r, c)) { if(sudokuSolve(board, r, c+1)) return true; } boardr='.'; } } else { return sudokuSolve(board, r, c+1); } return false; } static boolean isValidPosition(char b"See full answer

    Software Engineer
    Data Structures & Algorithms
    +4 more
  • 🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.

  • "I will need to understand What are we selling and who is the target customer? Is one retail location per metro area enough or is the market big enough for multiple stores? What is the goal of future retail locations? Gauge the market for fit or drive revenue. If LA market is big enough for multiple stores, then for logistical reasons, I will prefer to open additional stores in the same geographic region. If LA market is not large enough, then my second store will be in an a different"

    ready4new - "I will need to understand What are we selling and who is the target customer? Is one retail location per metro area enough or is the market big enough for multiple stores? What is the goal of future retail locations? Gauge the market for fit or drive revenue. If LA market is big enough for multiple stores, then for logistical reasons, I will prefer to open additional stores in the same geographic region. If LA market is not large enough, then my second store will be in an a different"See full answer

    Behavioral
    Product Strategy
  • Amazon logoAsked at Amazon 
    Product Manager
    Behavioral
  • Adobe logoAsked at Adobe 
    +9

    "from typing import List def traprainwater(height: List[int]) -> int: if not height: return 0 l, r = 0, len(height) - 1 leftMax, rightMax = height[l], height[r] res = 0 while l < r: if leftMax < rightMax: l += 1 leftMax = max(leftMax, height[l]) res += leftMax - height[l] else: r -= 1 rightMax = max(rightMax, height[r]) "

    Anonymous Roadrunner - "from typing import List def traprainwater(height: List[int]) -> int: if not height: return 0 l, r = 0, len(height) - 1 leftMax, rightMax = height[l], height[r] res = 0 while l < r: if leftMax < rightMax: l += 1 leftMax = max(leftMax, height[l]) res += leftMax - height[l] else: r -= 1 rightMax = max(rightMax, height[r]) "See full answer

    Software Engineer
    Data Structures & Algorithms
    +4 more
  • Apple logoAsked at Apple 

    "class TrieNode { constructor() { this.children = {}; this.isEndOfWord = false; } } class Trie { constructor() { this.root = new TrieNode(); } insert(word) { let node = this.root; for (const char of word) { if (!node.children[char]) { node.children[char] = new TrieNode(); } node = node.children[char]; } node.isEndOfWord = true; } search(word) { l"

    Tiago R. - "class TrieNode { constructor() { this.children = {}; this.isEndOfWord = false; } } class Trie { constructor() { this.root = new TrieNode(); } insert(word) { let node = this.root; for (const char of word) { if (!node.children[char]) { node.children[char] = new TrieNode(); } node = node.children[char]; } node.isEndOfWord = true; } search(word) { l"See full answer

    Data Engineer
    Data Structures & Algorithms
    +3 more
  • Instagram logoAsked at Instagram 
    Product Designer
    Product Design
  • "You might build a product like this a few ways. I think you'd definitely want a temperature sensor device (maybe like a TMP422, or maybe there's a different one that is standard for wearables) that was worn by the individual. As far as tracking social distance, my answer here is more dependent on the state of the art of robust (wearable) distance measurement. Maybe there's something available better than ultrasonic sensors, maybe there's some kind of electromagnetism based solution that isn't in"

    Ian R. - "You might build a product like this a few ways. I think you'd definitely want a temperature sensor device (maybe like a TMP422, or maybe there's a different one that is standard for wearables) that was worn by the individual. As far as tracking social distance, my answer here is more dependent on the state of the art of robust (wearable) distance measurement. Maybe there's something available better than ultrasonic sensors, maybe there's some kind of electromagnetism based solution that isn't in"See full answer

    Product Manager
    System Design
    +1 more
  • Google logoAsked at Google 

    "Below is the step by step approach I would take: Identify potential risks: Firstly, I thoroughly analyze the project and identify potential risks that could impact its success. This involves reviewing project documentation, conducting stakeholder interviews, and seeking input from team members who have expertise in different areas. Assess the impact and likelihood: I evaluate each identified risk by assessing its potential impact on the project objectives and determining the likelihood of"

    Ash K. - "Below is the step by step approach I would take: Identify potential risks: Firstly, I thoroughly analyze the project and identify potential risks that could impact its success. This involves reviewing project documentation, conducting stakeholder interviews, and seeking input from team members who have expertise in different areas. Assess the impact and likelihood: I evaluate each identified risk by assessing its potential impact on the project objectives and determining the likelihood of"See full answer

    BizOps & Strategy
    Analytical
    +1 more
  • "Some clarifying questions. Does this include storage required for backup? Assume - Yes and only one replica. Will email be compressed? Assume - Yes Assuming world wide user base. Let's formulate the equation required to estimate this answer. total storage required = (Total users x storage growth/per user + new users x storage required/user - all users x delete storage)*compression ratio + storage required for one replica. Total Gmail users = ~1B Based on my own ema"

    Harsh S. - "Some clarifying questions. Does this include storage required for backup? Assume - Yes and only one replica. Will email be compressed? Assume - Yes Assuming world wide user base. Let's formulate the equation required to estimate this answer. total storage required = (Total users x storage growth/per user + new users x storage required/user - all users x delete storage)*compression ratio + storage required for one replica. Total Gmail users = ~1B Based on my own ema"See full answer

    Estimation
  • "Clarification Questions: Through in-person purchases or including online? Both Cinema just for movies? Yes Amount of revenue or just tickets sold? Tickets sold High Level Equation: Cinema tickets in a year = (# of cinemas in the US) * (# of movie playings per cinema per year) * (# of viewers per cinema per screening) \# of Cinemas in the US = amount of states * average number of cinemas per state High Density Areas - 30% - 50 cinemas = 50 x 50 x .3 = 750 Suburban T"

    Andrea L. - "Clarification Questions: Through in-person purchases or including online? Both Cinema just for movies? Yes Amount of revenue or just tickets sold? Tickets sold High Level Equation: Cinema tickets in a year = (# of cinemas in the US) * (# of movie playings per cinema per year) * (# of viewers per cinema per screening) \# of Cinemas in the US = amount of states * average number of cinemas per state High Density Areas - 30% - 50 cinemas = 50 x 50 x .3 = 750 Suburban T"See full answer

    Product Manager
    Estimation
  • "class Solution: def missingNumber(self, nums: list[int]) -> int: Sorting approach n = len(nums) s = n*(n+1)//2 r = s - sum(nums) return self.r l = [3,0,1] print(missingNumber(l))"

    Rohit B. - "class Solution: def missingNumber(self, nums: list[int]) -> int: Sorting approach n = len(nums) s = n*(n+1)//2 r = s - sum(nums) return self.r l = [3,0,1] print(missingNumber(l))"See full answer

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

    "SELECT DISTINCT title, ROUND(AVG(rating) over (partition by title),1) avg_rating, ROUND(AVG(rating) over (partition by genre),1) genre_rating FROM rating r JOIN movie m ON r.movieid=m.movieid ORDER by 1"

    Harshi B. - "SELECT DISTINCT title, ROUND(AVG(rating) over (partition by title),1) avg_rating, ROUND(AVG(rating) over (partition by genre),1) genre_rating FROM rating r JOIN movie m ON r.movieid=m.movieid ORDER by 1"See full answer

    Coding
    SQL
  • Microsoft logoAsked at Microsoft 

    "BERT - bidirectional encoder representations from transformer. For example:- it takes an entire sentence as input at once and understands the meaning of the words in that sentence and calculate the relations of words with each other irrespective of their positions from the original word to understand the meaning of the word using neighboring words. BERT model is a pre trained transformer model which can be fine-tuned for our purposes. It is used for tasks such sentimental analysis, question answ"

    Bhavya V. - "BERT - bidirectional encoder representations from transformer. For example:- it takes an entire sentence as input at once and understands the meaning of the words in that sentence and calculate the relations of words with each other irrespective of their positions from the original word to understand the meaning of the word using neighboring words. BERT model is a pre trained transformer model which can be fine-tuned for our purposes. It is used for tasks such sentimental analysis, question answ"See full answer

    Machine Learning Engineer
    Concept
  • Software Engineer
    Behavioral
  • Instagram logoAsked at Instagram 

    "To roll out Instagram Reels, I will define my target customers as GenZ and newer generations. I will focus on design with 3 parameters - ease of use & stickiness, sharing, and comments+likes. Reels feature should be kept at prime location in the app, with easy option for user to navigate between reels. User should be shown reels based on his interest areas - reels skipped by user, reels seen repeatedly by user, reels shared by user, reels liked/commented by user. Reels share feature sho"

    Sushant G. - "To roll out Instagram Reels, I will define my target customers as GenZ and newer generations. I will focus on design with 3 parameters - ease of use & stickiness, sharing, and comments+likes. Reels feature should be kept at prime location in the app, with easy option for user to navigate between reels. User should be shown reels based on his interest areas - reels skipped by user, reels seen repeatedly by user, reels shared by user, reels liked/commented by user. Reels share feature sho"See full answer

    Product Marketing Manager
    Behavioral
    +1 more
Showing 2241-2260 of 4392