Google Interview Questions

Review this list of 860 Google interview questions and answers verified by hiring managers and candidates.
  • Google logoAsked at Google 
    Product Manager
    Product Design
    +1 more
  • Google logoAsked at Google 

    "Okay so the objective is to describe a product which I think is poorly designed despite of what market sentiments are around this and how the product is performing currently. Okay understood, so the way I would like to go about it is first I will state what are the factors which I look in a product to tell it is a good product. Then will see how a particular product doesn’t follow this and that's why I called it a poorly designed product. For me a product is great if it is having these qualities"

    Anonymous Muskox - "Okay so the objective is to describe a product which I think is poorly designed despite of what market sentiments are around this and how the product is performing currently. Okay understood, so the way I would like to go about it is first I will state what are the factors which I look in a product to tell it is a good product. Then will see how a particular product doesn’t follow this and that's why I called it a poorly designed product. For me a product is great if it is having these qualities"See full answer

    Product Manager
    Product Design
  • Google logoAsked at Google 
    +2

    "WITH RECURSIVE fibonacci_series AS ( SELECT 1 AS n, 0 AS fib1, 1 AS fib2 UNION ALL SELECT n + 1 AS n, fib2 AS fib1, fib1 + fib2 AS fib2 FROM fibonacci_series WHERE n < 20 -- Limit the series to 20 numbers ) SELECT n, fib1 AS fib FROM fibonacci_series ORDER BY n; `"

    Yashasvi V. - "WITH RECURSIVE fibonacci_series AS ( SELECT 1 AS n, 0 AS fib1, 1 AS fib2 UNION ALL SELECT n + 1 AS n, fib2 AS fib1, fib1 + fib2 AS fib2 FROM fibonacci_series WHERE n < 20 -- Limit the series to 20 numbers ) SELECT n, fib1 AS fib FROM fibonacci_series ORDER BY n; `"See full answer

    Data Analyst
    Coding
    +2 more
  • +6

    "Great question, I’ll take a moment to organize my thoughts before answering - Sure I have a few clarification questions and some assumptions - Go ahead 5 years and infinite resources, I have no constraints in terms of making technology advancements - Yes, no constraint I’ll focus on improving the lives of people and changing the ways people use Google Translate and may expand the use to different products.. not just existing interface - Cool Let's take a step back and think why people nee"

    Vaibhav B. - "Great question, I’ll take a moment to organize my thoughts before answering - Sure I have a few clarification questions and some assumptions - Go ahead 5 years and infinite resources, I have no constraints in terms of making technology advancements - Yes, no constraint I’ll focus on improving the lives of people and changing the ways people use Google Translate and may expand the use to different products.. not just existing interface - Cool Let's take a step back and think why people nee"See full answer

    Product Design
  • Google logoAsked at Google 
    +1

    "Clarifying Questions Who are we? Traditional elevator company or a new age tech startup Assumption: New age tech based elevator company Any constraints: Budget, etc. Assumption: No What kind of a skyscraper building: Assumption: Commercial. Includes office spaces as well as others Any particular goal with respect to building this elevator? Design best in class elevator providing the best user experience for passengers User needs - Users have the following needs when"

    Shasleen I. - "Clarifying Questions Who are we? Traditional elevator company or a new age tech startup Assumption: New age tech based elevator company Any constraints: Budget, etc. Assumption: No What kind of a skyscraper building: Assumption: Commercial. Includes office spaces as well as others Any particular goal with respect to building this elevator? Design best in class elevator providing the best user experience for passengers User needs - Users have the following needs when"See full answer

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

  • Google logoAsked at Google 
    +3

    "My Favorite Product is Grammarly unlike Microsoft spell checker, it helps correct the mistakes as I compose my sentences. It follows rules, patterns, machine learning, deep learning, and natural language processing (NLP) to improve users’ writing skills and improve their confidence in writing skills. I would evaluate this product by the following design principles. Usefulness Understandability Innovative It’s honest I can expand this criterion and explain how I evaluate prod"

    Dev S. - "My Favorite Product is Grammarly unlike Microsoft spell checker, it helps correct the mistakes as I compose my sentences. It follows rules, patterns, machine learning, deep learning, and natural language processing (NLP) to improve users’ writing skills and improve their confidence in writing skills. I would evaluate this product by the following design principles. Usefulness Understandability Innovative It’s honest I can expand this criterion and explain how I evaluate prod"See full answer

    Product Manager
    Behavioral
  • Google logoAsked at Google 
    +8

    "The instructions give an incorrect answer I think? """ // tree 1 / \ 2 3 / \ 4 5 The diameter is 4, which is the length of the path [4, 2, 1, 3] or [5, 2, 1, 3]. """ My code returns 3 for this example, and yet passes all the tests \# debug your code below root = Node(1) root.left = Node(2) root.right = Node(3) root.left.left = Node(4) root.left.right = Node(5) print(diameterOfTree(root))"

    Adam F. - "The instructions give an incorrect answer I think? """ // tree 1 / \ 2 3 / \ 4 5 The diameter is 4, which is the length of the path [4, 2, 1, 3] or [5, 2, 1, 3]. """ My code returns 3 for this example, and yet passes all the tests \# debug your code below root = Node(1) root.left = Node(2) root.right = Node(3) root.left.left = Node(4) root.left.right = Node(5) print(diameterOfTree(root))"See full answer

    Software Engineer
    Data Structures & Algorithms
    +1 more
  • Google logoAsked at Google 
    Video answer for 'Design a key-value store.'

    "Simple file system ( Hash Map , LSM trees), and consistent hashing. I failed to discuss about conflicts ( Versioning)"

    V V. - "Simple file system ( Hash Map , LSM trees), and consistent hashing. I failed to discuss about conflicts ( Versioning)"See full answer

    Software Engineer
    System Design
    +2 more
  • Google logoAsked at Google 
    BizOps & Strategy
    System Design
  • Google logoAsked at Google 
    +1

    "I will look at the % of overspend. If we are within 10%, I would not worry about it too much as most budgets factor in 10% contingency. If Budget has exceeded 10% Threshold, I will use the following approach: Deep dive on current status: Understand % work completed/accepted Analyse Schedule/Time progress Understand Project Priority: P1/P2/P3 Resourcing: Internal/External Complexity: Technical design (Number of Applications involved/ Number of Interfaces to be build e"

    Saket S. - "I will look at the % of overspend. If we are within 10%, I would not worry about it too much as most budgets factor in 10% contingency. If Budget has exceeded 10% Threshold, I will use the following approach: Deep dive on current status: Understand % work completed/accepted Analyse Schedule/Time progress Understand Project Priority: P1/P2/P3 Resourcing: Internal/External Complexity: Technical design (Number of Applications involved/ Number of Interfaces to be build e"See full answer

    Program Sense
    Analytical
    +1 more
  • +5

    "Clarifying questions: US-based? And All year including holidays? First, what is the goal? Grow user base of Prime? Add revenue? I'd imagine it's to grow Prime base, as it's sticky and I imagine the Lifetime Value is higher as people will shop more if they have Prime. Then, I would look at the users. What are they trying to do? They're purchasing gifts, and looking to gift wrap. Take a look at the number of gift purchases total with gift receipt and no gift wrap. Call this X. Break thi"

    Manish E. - "Clarifying questions: US-based? And All year including holidays? First, what is the goal? Grow user base of Prime? Add revenue? I'd imagine it's to grow Prime base, as it's sticky and I imagine the Lifetime Value is higher as people will shop more if they have Prime. Then, I would look at the users. What are they trying to do? They're purchasing gifts, and looking to gift wrap. Take a look at the number of gift purchases total with gift receipt and no gift wrap. Call this X. Break thi"See full answer

    Product Strategy
    Analytical
  • Google logoAsked at Google 

    "Time taken: ~40min. I made up how Gmail Ads work A: Do you mind if I clarify a few things about this question? G: Sure! A: I would like to understand what Gmail ads is and how it works? G: Gmail ads are interactive ads that show in the Promotions and Social tabs of your inbox. A: I know there can be other emails under Promotions or Social tab such as different brands sending promotional emails. G: Gmail ads look different and are labeled as "ads by gmail" A: Great. And how does Gmail ads make"

    Araz J. - "Time taken: ~40min. I made up how Gmail Ads work A: Do you mind if I clarify a few things about this question? G: Sure! A: I would like to understand what Gmail ads is and how it works? G: Gmail ads are interactive ads that show in the Promotions and Social tabs of your inbox. A: I know there can be other emails under Promotions or Social tab such as different brands sending promotional emails. G: Gmail ads look different and are labeled as "ads by gmail" A: Great. And how does Gmail ads make"See full answer

    Product Strategy
  • Google logoAsked at Google 
    +1

    "Clarification: With kids or without kids? Assuming without With the fuel filled ? Empty Formulae: Outer frame of the school + seats + cushion + inside rods + windows + Engine + motor + other automotive parts + tires Outer frame: Closest proxy : a compact car * 4 = length of the bus Assuming reinforced steel for a car = 2 doors * 200 = 400 pounds One side of the bus = 400* *x 4 x 2 = 3200 pounds two sides = 3200 x 2 = 6400 pounds front and back width = Estimation: 4 people sit in a"

    Pm P. - "Clarification: With kids or without kids? Assuming without With the fuel filled ? Empty Formulae: Outer frame of the school + seats + cushion + inside rods + windows + Engine + motor + other automotive parts + tires Outer frame: Closest proxy : a compact car * 4 = length of the bus Assuming reinforced steel for a car = 2 doors * 200 = 400 pounds One side of the bus = 400* *x 4 x 2 = 3200 pounds two sides = 3200 x 2 = 6400 pounds front and back width = Estimation: 4 people sit in a"See full answer

    Estimation
  • Google logoAsked at Google 
    +6

    " function climbStairs(n) { // 4 iterations of Dynamic Programming solutions: // Step 1: Recursive: // if (n <= 2) return n // return climbStairs(n-1) + climbStairs(n-2) // Step 2: Top-down Memoization // const memo = {0:0, 1:1, 2:2} // function f(x) { // if (x in memo) return memo[x] // memo[x] = f(x-1) + f(x-2) // return memo[x] // } // return f(n) // Step 3: Bottom-up Tabulation // const tab = [0,1,2] // f"

    Matthew K. - " function climbStairs(n) { // 4 iterations of Dynamic Programming solutions: // Step 1: Recursive: // if (n <= 2) return n // return climbStairs(n-1) + climbStairs(n-2) // Step 2: Top-down Memoization // const memo = {0:0, 1:1, 2:2} // function f(x) { // if (x in memo) return memo[x] // memo[x] = f(x-1) + f(x-2) // return memo[x] // } // return f(n) // Step 3: Bottom-up Tabulation // const tab = [0,1,2] // f"See full answer

    Data Engineer
    Data Structures & Algorithms
    +3 more
  • Engineering Manager
    People Management
  • "Any answer after this video won't compare. Not an expert. With that caveat out of the way, here is my answer I'd break this work into different phases = Discovery Phase, Planning Phase, Execution Phase, Monitoring phase, Ongoing Discovery : How many Products does this enterprise have? Are we talking about internally developed Products that we sell in the market place? or also third party Products that our enterprise has purchased for internal use? Should we include Operating Systems, net"

    Adib M. - "Any answer after this video won't compare. Not an expert. With that caveat out of the way, here is my answer I'd break this work into different phases = Discovery Phase, Planning Phase, Execution Phase, Monitoring phase, Ongoing Discovery : How many Products does this enterprise have? Are we talking about internally developed Products that we sell in the market place? or also third party Products that our enterprise has purchased for internal use? Should we include Operating Systems, net"See full answer

    Program Sense
  • Google logoAsked at Google 
    Video answer for 'Write functions to serialize and deserialize a list of strings.'
    +4

    "Maybe we can use this solution: 1, connect all the strings together, and add an integer value ahead each string. 2, use Huffmans algorithm to encode the step 1 result, to make the result size smaller. 3, return the root of Huffmans tree. This solution man be slower than the common serialize method, but it can save a lot of memory, I think, at lease doing serialize is mainly for tranfering data or storing data."

    Jordan Z. - "Maybe we can use this solution: 1, connect all the strings together, and add an integer value ahead each string. 2, use Huffmans algorithm to encode the step 1 result, to make the result size smaller. 3, return the root of Huffmans tree. This solution man be slower than the common serialize method, but it can save a lot of memory, I think, at lease doing serialize is mainly for tranfering data or storing data."See full answer

    Software Engineer
    Coding
    +1 more
  • Google logoAsked at Google 
    Video answer for 'Design a high-tech gym.'
    +1

    "[2:53 pm, 02/12/2021] Mayank: Before we deep dive into brainstorming the solution I go ahead and make few assumptions for clarifying questions: Step-1- Framing a problem 🎯Why users go to gym? To relieve stress by doing exercise To maintain their body To reduce their weight To remain active To make good physique 🎯Who goes to gym? Couples Group of friends Individuals Here we are trying to design high tech gym so it means we are looking to create good experience-and"

    Mayank S. - "[2:53 pm, 02/12/2021] Mayank: Before we deep dive into brainstorming the solution I go ahead and make few assumptions for clarifying questions: Step-1- Framing a problem 🎯Why users go to gym? To relieve stress by doing exercise To maintain their body To reduce their weight To remain active To make good physique 🎯Who goes to gym? Couples Group of friends Individuals Here we are trying to design high tech gym so it means we are looking to create good experience-and"See full answer

    Data Engineer
    Product Design
  • Google logoAsked at Google 

    "Is this considered to be a passing answer for a Google interview? Seems very basic and shallow, but hey.. Train the model on what? How do you label something as bullying or not. Seems like it's a classification problem, or personalization problem. Also remedying in the problem was very weak."

    D I. - "Is this considered to be a passing answer for a Google interview? Seems very basic and shallow, but hey.. Train the model on what? How do you label something as bullying or not. Seems like it's a classification problem, or personalization problem. Also remedying in the problem was very weak."See full answer

    Product Design
    Analytical
    +1 more
  • "During my time as a Product Manager, we were preparing for a major product release with a tight deadline and discovered that implementing both a new feature and crucial performance improvements wasn't feasible within the timeframe. So, I organized a meeting with stakeholders to assess the impact of each option. We analyzed user data, projected ROI, and considered long-term product strategy. Ultimately, I decided to prioritize the performance improvements. As a result, the product launched on tim"

    Vaishnavi T. - "During my time as a Product Manager, we were preparing for a major product release with a tight deadline and discovered that implementing both a new feature and crucial performance improvements wasn't feasible within the timeframe. So, I organized a meeting with stakeholders to assess the impact of each option. We analyzed user data, projected ROI, and considered long-term product strategy. Ultimately, I decided to prioritize the performance improvements. As a result, the product launched on tim"See full answer

    Product Manager
    Behavioral
    +1 more
Showing 241-260 of 860