Skip to main content

Google Interview Questions

Review this list of 918 Google interview questions and answers verified by hiring managers and candidates.
  • Google logoAsked at Google 
    +28

    "Two pointers sub-routine from typing import List def reverse_words(arr: List[str]) -> List[str]: size = len(arr) #reverse whole array reversesubarr(arr, 0, size-1) #reverse each word start, end = 0, 0 for i in range(size): if arr[i].isspace() or i == size-1: end = i-1 if i != size-1 else i reversesubarr(arr, start, end) start = i+1 return arr def reversesubarr(array, start, end): print(array, start,"

    Nicolás N. - "Two pointers sub-routine from typing import List def reverse_words(arr: List[str]) -> List[str]: size = len(arr) #reverse whole array reversesubarr(arr, 0, size-1) #reverse each word start, end = 0, 0 for i in range(size): if arr[i].isspace() or i == size-1: end = i-1 if i != size-1 else i reversesubarr(arr, start, end) start = i+1 return arr def reversesubarr(array, start, end): print(array, start,"See full answer

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

    "DevOps it's bridge (methodology) between the Dev\Qa\etc(tech teams) and Ops to satisfy the business requirements, reduce the costs, reduce time to market, etc ..."

    Kirill K. - "DevOps it's bridge (methodology) between the Dev\Qa\etc(tech teams) and Ops to satisfy the business requirements, reduce the costs, reduce time to market, etc ..."See full answer

    Product Manager
    Technical
  • Google logoAsked at Google 
    Video answer for 'Design an app for an amusement park.'
    +35

    "Clarifying questions (since there is no interviewer to clarify, I will state and make my assumptions below): Is this an app for park-goers, Six Flags employees, or some other stakeholder? Assumption: this is an app for park-goers Is there an age-limit on the app? Assumption: There is no specific age-limit, but it should be family friendly Will this app be standardized across all Six Flags locations? Assumption: yes To design this product, I will explain my thought proces"

    Izzy K. - "Clarifying questions (since there is no interviewer to clarify, I will state and make my assumptions below): Is this an app for park-goers, Six Flags employees, or some other stakeholder? Assumption: this is an app for park-goers Is there an age-limit on the app? Assumption: There is no specific age-limit, but it should be family friendly Will this app be standardized across all Six Flags locations? Assumption: yes To design this product, I will explain my thought proces"See full answer

    Product Manager
    Product Design
  • Google logoAsked at Google 

    "Clarifying question: just want to make sure that I'm designing the right product, are you referring to ATM as in a machine that takes in a debit or credit card and dispenses cash? Also, is there any location restriction for where the machine is located at London Heathrow Airport, eg. departure hall after security or arrival hall before exiting baggage claim? These could potentially impact the use case. (Assume interviewer answers yes for first and no for second) Approach: Identify or segment"

    Anonymous Sparrow - "Clarifying question: just want to make sure that I'm designing the right product, are you referring to ATM as in a machine that takes in a debit or credit card and dispenses cash? Also, is there any location restriction for where the machine is located at London Heathrow Airport, eg. departure hall after security or arrival hall before exiting baggage claim? These could potentially impact the use case. (Assume interviewer answers yes for first and no for second) Approach: Identify or segment"See full answer

    Product Manager
    Product Design
  • +2

    "First, let’s discuss why this is important for any platform business Think of platform businesses like Amazon or YouTube as matchmakers. They connect people who want something with those who provide it, whether it's products or content. But here's the catch: users trust these platforms to make sure they're getting good stuff. They want genuine products, safe content, and no scams. So, platforms need to be like guardians. They check suppliers and content creators to make sure they're not"

    Jay K. - "First, let’s discuss why this is important for any platform business Think of platform businesses like Amazon or YouTube as matchmakers. They connect people who want something with those who provide it, whether it's products or content. But here's the catch: users trust these platforms to make sure they're getting good stuff. They want genuine products, safe content, and no scams. So, platforms need to be like guardians. They check suppliers and content creators to make sure they're not"See full answer

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

  • Google logoAsked at Google 
    +5

    "t"

    Srikhar S. - "t"See full answer

    Product Manager
    Behavioral
    +4 more
  • Google logoAsked at Google 

    "These are a set of utilities used to manage the heap memory as part of an application. The C standard library implements these functions. malloc(bytes) takes a number of bytes and returns a pointer to the start of the allocated buffer. If the allocation failed, a null pointer is returned instead. calloc(count, size) behaves like malloc(count * size), but also zero-initializes the allocated buffer, assuming the allocation succeeded. realloc(ptr, size) takes a pointer to a previously al"

    J R. - "These are a set of utilities used to manage the heap memory as part of an application. The C standard library implements these functions. malloc(bytes) takes a number of bytes and returns a pointer to the start of the allocated buffer. If the allocation failed, a null pointer is returned instead. calloc(count, size) behaves like malloc(count * size), but also zero-initializes the allocated buffer, assuming the allocation succeeded. realloc(ptr, size) takes a pointer to a previously al"See full answer

    Software Engineer
    Coding
    +1 more
  • Google logoAsked at Google 
    +2

    "5 reasons Gmail search is real time Gmail search needs to be 100% accurate Does not have significant caching / hot searches Less hardware used as user info cant be sprayed across machines Gmail storage is different, as needs decryption on every"

    Mohit G. - "5 reasons Gmail search is real time Gmail search needs to be 100% accurate Does not have significant caching / hot searches Less hardware used as user info cant be sprayed across machines Gmail storage is different, as needs decryption on every"See full answer

    Product Manager
    Technical
  • Google logoAsked at Google 
    Video answer for 'Why is Android strategic for Google?'
    +14

    "Google’s Mission: Organize the world’s information and make it universally accessible. Google offers perhaps the most consequential set services available on the internet today - Search, Maps, Gmail, Drive, Docs, etc. These services reach billions of users across the world and they are all available for free. Google is able to give away these services for free because of how their business model works. Google’s Business Model: Google makes money from Ads. They offer perhaps the most"

    Sameer A. - "Google’s Mission: Organize the world’s information and make it universally accessible. Google offers perhaps the most consequential set services available on the internet today - Search, Maps, Gmail, Drive, Docs, etc. These services reach billions of users across the world and they are all available for free. Google is able to give away these services for free because of how their business model works. Google’s Business Model: Google makes money from Ads. They offer perhaps the most"See full answer

    BizOps & Strategy
    Product Strategy
    +1 more
  • +1

    "Assumptions: We're looking only at a single large dealership in San Jose, per the question, not all large car dealerships New cars already come with tires; the dealer does not have to purchase them separately A couple of different ways I might approach this: Approach 1: Estimate based on # cars serviced per day Dealer intakes 10 cars for servicing per hour (based on anecdotal observation) 100 cars serviced per day (assuming service dept. open 10 hours per day) Cars that need onl"

    Andrew B. - "Assumptions: We're looking only at a single large dealership in San Jose, per the question, not all large car dealerships New cars already come with tires; the dealer does not have to purchase them separately A couple of different ways I might approach this: Approach 1: Estimate based on # cars serviced per day Dealer intakes 10 cars for servicing per hour (based on anecdotal observation) 100 cars serviced per day (assuming service dept. open 10 hours per day) Cars that need onl"See full answer

    Product Manager
    Estimation
  • Google logoAsked at Google 
    +4

    "For self achievement, The product manager builds useful products for users and makes the world better. For the team, The product manager can work with the team, and leverage the team resources to make things happen, which is more impactful. For the company, Pm are usually problem solvers, help companies to solve problems and grow better "

    Shen W. - "For self achievement, The product manager builds useful products for users and makes the world better. For the team, The product manager can work with the team, and leverage the team resources to make things happen, which is more impactful. For the company, Pm are usually problem solvers, help companies to solve problems and grow better "See full answer

    Product Manager
    Behavioral
  • Google logoAsked at Google 
    Video answer for 'Merge Intervals'
    +47

    "const mergeIntervals = (intervals) => { const compare = (a, b) => { if(a[0] b[0]) return 1 else if(a[0] === b[0]) { return a[1] - b[1] } } let current = [] const result = [] const sorted = intervals.sort(compare) for(let i = 0; i = b[0]) current[1] = b[1] els"

    Kofi N. - "const mergeIntervals = (intervals) => { const compare = (a, b) => { if(a[0] b[0]) return 1 else if(a[0] === b[0]) { return a[1] - b[1] } } let current = [] const result = [] const sorted = intervals.sort(compare) for(let i = 0; i = b[0]) current[1] = b[1] els"See full answer

    Software Engineer
    Data Structures & Algorithms
    +6 more
  • "1. Understand the "Why" (Deep Dive) - Before jumping to solutions, as a PM needs to precisely understand why users are unhappy. NPS gives us a score, but not the reasons. (0 -4 weeks) Analyze Feedback: Go beyond the score. What are Detractors (0-6) saying? What do Promoters (9-10) love? Qualitative Research:(VOC- voice of the customer) Conduct user interviews, analyze support tickets, and observe product usage. Pinpoint specific pain points (e.g., slow p"

    Vishnu G. - "1. Understand the "Why" (Deep Dive) - Before jumping to solutions, as a PM needs to precisely understand why users are unhappy. NPS gives us a score, but not the reasons. (0 -4 weeks) Analyze Feedback: Go beyond the score. What are Detractors (0-6) saying? What do Promoters (9-10) love? Qualitative Research:(VOC- voice of the customer) Conduct user interviews, analyze support tickets, and observe product usage. Pinpoint specific pain points (e.g., slow p"See full answer

    Product Manager
    Analytical
    +1 more
  • Google logoAsked at Google 
    Video answer for 'How would you improve Google News?'
    +2

    "Clarification: Believe no constraints such as for specific market or for specific device, No specific goal , can explore what improve means. Goal: can I assume improve user experience and resolve pain points, and not around monetization So goal could be to improve engagement and higher customer satisfaction with google news as a product, so basically more usage, and lower churn So more DAU Users: Consumers based on how they consume: Deep dive into news reports in a specific area of the"

    Shiva S. - "Clarification: Believe no constraints such as for specific market or for specific device, No specific goal , can explore what improve means. Goal: can I assume improve user experience and resolve pain points, and not around monetization So goal could be to improve engagement and higher customer satisfaction with google news as a product, so basically more usage, and lower churn So more DAU Users: Consumers based on how they consume: Deep dive into news reports in a specific area of the"See full answer

    Product Design
  • "While interning at Numerix Analytics, I was working on a campaign analysis project where I used customer engagement data to recommend which email subject lines performed best. Based on open rate data from the past two campaigns, I concluded that short, curiosity-based subject lines were outperforming more direct ones. I recommended using that style for the next major campaign. The marketing team followed my recommendation. However, the open and click-through rates for the next campaign dropped s"

    Dhruv M. - "While interning at Numerix Analytics, I was working on a campaign analysis project where I used customer engagement data to recommend which email subject lines performed best. Based on open rate data from the past two campaigns, I concluded that short, curiosity-based subject lines were outperforming more direct ones. I recommended using that style for the next major campaign. The marketing team followed my recommendation. However, the open and click-through rates for the next campaign dropped s"See full answer

    Product Manager
    Behavioral
  • +6

    "Interesting question. Let's take a step back and focus on the WHAT and WHY of Google Flights. The narrative for Google Flights as a product or platform imo is: As a platform, I wish to make flight information available, so that users can make knowledgable decisions based on their travel needs. So essentially, it helps users by providing information, so that they can make optimized decisions. In order to determine if Google should introduce ads, we should consider the impact on both val"

    Niranjan M. - "Interesting question. Let's take a step back and focus on the WHAT and WHY of Google Flights. The narrative for Google Flights as a product or platform imo is: As a platform, I wish to make flight information available, so that users can make knowledgable decisions based on their travel needs. So essentially, it helps users by providing information, so that they can make optimized decisions. In order to determine if Google should introduce ads, we should consider the impact on both val"See full answer

    Data Analyst
    Analytical
  • Google logoAsked at Google 
    Video answer for 'How would you improve your favorite product?'

    "When a question like this is asked what is really being asked is "how do you think about the elements that make up a product and how does each part add value?". I generally try to answer it with a feature that has to do with user interaction. Good answers to this question could include "I would add a button to edit a post, and make it more visible and accessible rather than buried in a menu". Your rationale might be "**because it encourages users to post without fear that they will make"

    Sydney S. - "When a question like this is asked what is really being asked is "how do you think about the elements that make up a product and how does each part add value?". I generally try to answer it with a feature that has to do with user interaction. Good answers to this question could include "I would add a button to edit a post, and make it more visible and accessible rather than buried in a menu". Your rationale might be "**because it encourages users to post without fear that they will make"See full answer

    Product Manager
    Product Design
  • +13

    "Thanks for the question. The way I would like to proceed with this question is firstly, to get more context about the problem by asking some clarifying questions and narrowing the scope. Then, I would like to break the problem into smaller components to understand where exactly our problem lies. Then make a user journey for that particular area and identify the technical and non-technical factors which might affect this change specific to our company/product. Post that, I'll analyse the external"

    Nikita G. - "Thanks for the question. The way I would like to proceed with this question is firstly, to get more context about the problem by asking some clarifying questions and narrowing the scope. Then, I would like to break the problem into smaller components to understand where exactly our problem lies. Then make a user journey for that particular area and identify the technical and non-technical factors which might affect this change specific to our company/product. Post that, I'll analyse the external"See full answer

    Analytical
    Execution
  • Google logoAsked at Google 
    +4

    "The company culture is very supportive and collaborative. Googlers are encouraged to be creative and innovative, and there is a lot of freedom to explore new ideas. The work is challenging and rewarding. Googlers have the opportunity to work on cutting-edge projects that have a real impact on the world. The company is committed to diversity and inclusion. Google is a great place to work for people from all backgrounds and with all different perspectives. I am confident that I would b"

    Praful B. - "The company culture is very supportive and collaborative. Googlers are encouraged to be creative and innovative, and there is a lot of freedom to explore new ideas. The work is challenging and rewarding. Googlers have the opportunity to work on cutting-edge projects that have a real impact on the world. The company is committed to diversity and inclusion. Google is a great place to work for people from all backgrounds and with all different perspectives. I am confident that I would b"See full answer

    Software Engineer
    Behavioral
    +3 more
  • "Function signature for reference: def calculate(servers: List[int], k: int) -> int: ... To resolve this, you can use binary search considering left=0 and right=max(servers) * k so Example: servers=[1,4,5] First server handle 1 request in let's say 1 second, second 4 seconds and last 5 seconds. k=10 So I want to know the minimal time to process 10 requests Get the mid for timeline mid = (left+right)//2 -> mid is 25 Check how many we could process 25//1 = 25 25//4=6 25//5=5 so 25 + 6 +"

    Babaa - "Function signature for reference: def calculate(servers: List[int], k: int) -> int: ... To resolve this, you can use binary search considering left=0 and right=max(servers) * k so Example: servers=[1,4,5] First server handle 1 request in let's say 1 second, second 4 seconds and last 5 seconds. k=10 So I want to know the minimal time to process 10 requests Get the mid for timeline mid = (left+right)//2 -> mid is 25 Check how many we could process 25//1 = 25 25//4=6 25//5=5 so 25 + 6 +"See full answer

    Software Engineer
    Coding
Showing 141-160 of 918