Upload Button Icon Add office photos

Google

Compare button icon Compare button icon Compare

Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards

zig zag pattern zig zag pattern

Filter interviews by

Google Software Developer Interview Questions, Process, and Tips

Updated 20 Jan 2025

Top Google Software Developer Interview Questions and Answers

  • Q1. Painter's Partition Problem Statement Given an array/list representing boards, where each element denotes the length of a board, and a number ‘K’ of available painters, ...read more
  • Q2. Special Numbers Problem Statement Your task is to find the total count of special numbers within a range from 1 to a given integer, 'MAXVAL'. A special number is defined ...read more
  • Q3. Shopping Spree Problem Statement Preeti plans to shop for her father's birthday at a store with unlimited quantities of N different items. She has a budget that allows h ...read more
View all 85 questions

Google Software Developer Interview Experiences

93 interviews found

Interview Questionnaire 

13 Questions

  • Q1. Given a source array of integers with possible duplicates and a target integer, write algorithm to find out 2 numbers in source array whose sum is equal to target integer
  • Ans. 

    Algorithm to find 2 numbers in an array whose sum is equal to a target integer

    • Use a hash table to store the difference between target and each element in the array

    • Iterate through the array and check if the current element exists in the hash table

    • Return the pair of elements that sum up to the target integer

  • Answered by AI
  • Q2. Say you have three tables WORK, USERS, MANAGERS WORK - work_id - user_id - how_much USERS - user_id - team MANAGERS - manager_id - team If I am a manager, write a select statement to retrieve the work o...
  • Ans. 

    Write a select statement to retrieve work of all users who belong to my team.

    • Join USERS and WORK tables on user_id

    • Join MANAGERS and USERS tables on team

    • Filter by manager_id

  • Answered by AI
  • Q3. In a Chrome extension, which file contains the most important information of the extension like version, pattern matches, etc
  • Ans. 

    The manifest.json file contains the most important information of a Chrome extension.

    • The manifest.json file includes the version number, permissions, content scripts, background scripts, and other important details.

    • It is located in the root directory of the extension.

    • It is required for all Chrome extensions.

    • Example: "manifest_version": 2, "version": "1.0", "permissions": ["tabs", "storage"]

  • Answered by AI
  • Q4. There are three rooms, and there are Princess, Flowers and Snake in those rooms. The doors of all the rooms have incorrect nameplates. i.e., the nameplate for the princess’ room is not Princess. Similarly,...
  • Q5. Which is faster: finding an item in a hashtable or in a sorted list? And Why?
  • Ans. 

    Hashtable is faster for finding an item than a sorted list.

    • Hashtable has constant time complexity O(1) for finding an item.

    • Sorted list has logarithmic time complexity O(log n) for finding an item.

    • Hashtable uses hashing to directly access the item's location.

    • Sorted list requires binary search to find the item's location.

    • Hashtable is ideal for large datasets with frequent lookups.

    • Sorted list is ideal for datasets that re

  • Answered by AI
  • Q6. What are some of the most popular Data interchange formats when using APIs
  • Ans. 

    JSON and XML are the most popular data interchange formats when using APIs.

    • JSON (JavaScript Object Notation) is a lightweight format that is easy to read and write. It is widely used in web APIs.

    • XML (Extensible Markup Language) is a more complex format that is also widely used in web APIs.

    • Other formats include CSV (Comma Separated Values), YAML (YAML Ain't Markup Language), and Protocol Buffers.

  • Answered by AI
  • Q7. Name some popular APIs for each of these Social Commerce service(llike a photo service etc)
  • Ans. 

    Popular APIs for Social Commerce services

    • Facebook Graph API for social media integration

    • Instagram API for photo sharing and tagging

    • Twitter API for real-time updates and customer engagement

    • Pinterest API for product discovery and sharing

    • Google Maps API for location-based services

    • PayPal API for secure payment processing

  • Answered by AI
  • Q8. How would you change the format of all the phone numbers in 1000 static html pages?
  • Ans. 

    Use a script to iterate through each HTML page, locate phone numbers, and update their format.

    • Write a script using a programming language like Python or JavaScript to iterate through each HTML page

    • Use regular expressions to locate phone numbers in the pages

    • Update the format of the phone numbers as needed (e.g. adding country code, changing separators)

    • Save the updated HTML pages with the new phone number format

  • Answered by AI
  • Q9. If you had an opportunity to design the Google Suggest system, please let us know how you would approach it and how you would execute the plan in terms of settings up systems like(data stores or databases,...
  • Ans. 

    Designing Google Suggest system

    • I would start by analyzing user search patterns and frequently searched keywords

    • Then, I would create a database of these keywords and their associated search results

    • I would use indexing services to quickly retrieve relevant results for each keyword

    • I would also implement machine learning algorithms to improve the accuracy of suggestions over time

  • Answered by AI
  • Q10. How do you find out if a number is a power of 2? And how do you know if it is an odd number? Write code in the language of your choice
  • Ans. 

    Check if a number is a power of 2 and odd.

    • To check if a number is a power of 2, use bitwise AND operator with the number and its predecessor. If the result is 0, it is a power of 2.

    • To check if a number is odd, use modulus operator with 2. If the result is 1, it is odd.

    • Example code in Python:

    • def is_power_of_two(num):

    • return num & (num - 1) == 0

    • def is_odd(num):

    • return num % 2 == 1

  • Answered by AI
  • Q11. How will improve the revenue of the cafeteria of the office.
  • Ans. 

    By introducing new menu items, optimizing pricing strategy, and improving the overall dining experience.

    • Conduct a survey to understand the preferences of employees

    • Introduce healthy and affordable meal options

    • Offer discounts for bulk orders or loyalty programs

    • Partner with local vendors to source fresh ingredients

    • Improve the ambiance and seating arrangements

    • Implement online ordering and delivery services

  • Answered by AI
  • Q12. [Actual question which i screwed up. Bad Time for me]Number of users in 2001 for adwords, chrome, gmail, android and picassa are in the ratio of 6:9:14:13:8, and in 2004 we add 3 lakh more users. New rati...
  • Q13. In google adwords there are about 30 million ads from 42 lanuages . What will I do review the ads and reject ads that do not comply with specific rules
  • Ans. 

    Reviewing 30 million ads from 42 languages in Google AdWords and rejecting non-compliant ads requires a systematic approach.

    • Create a set of specific rules and guidelines for ad compliance

    • Use automated tools to filter out ads that violate the rules

    • Assign a team of reviewers to manually check the remaining ads

    • Ensure that the reviewers are fluent in the languages of the ads they are reviewing

    • Regularly update the rules and...

  • Answered by AI

Interview Preparation Tips

Round: Test
Experience: I was asked to take the test at 8.30 pm. They fixed this test, a week back. Nobody will call you to remind you to take test. Nor the interviewer will call you. It is your responsibility to check ur mail without fail. On that day I was expecting a call from google from evening till 8.25 pm. None called me. I thought that they would have forgot that. I planned to do go out and have food. But suddenly my ipad gave a alert message and it was from gmail app [thanks for ipad, or else i would not have checked my mail in lap top]. It was from google recruiter. The mail stated that he has shared a doc with me and i must answer the questions in it. a google drive link was given. he mentioned that the test was for 2 hours. I was asked to type answers just below each of these questions.
Duration: 120 minutes

Round: Technical Interview
Experience: Since I had prepared for tech interviews like amazon, I was able to do it good.After a week I got a call from HR and informed that I cleared the first round. Then after two days I was told that i will have a telephonic interview with one of the google developers from adwords team . They scheduled a telephonic interview the next week

Round: Technical Interview
Experience: 1) How will improve the revenue of the cafeteria of the office. Lots of discussions went and i think, i really did that well.
2)[Actual question which i screwed up. Bad Time for me]
Number of users in 2001 for adwords, chrome, gmail, android and picassa are in the ratio of 6:9:14:13:8, and in 2004 we add 3 lakh more users. New ratio is 8:12:13:11:6. Number of picassa users in 2004= 1,44,000. Calculate number of adwords users in 2005.A basic math question that, even a school student can solve. But in that tension i was not able to do it. I took some time and finally gave him a answer. I myself knew that it would be wrong. But interviewer said great lets move on to next question[just to boost up me - good person].My actual job role revolves around developing tools for the the ad review team which will review the ad and reject illlegal ones. So third question was related to that .He told me that as I am from a tech background, I need to explain him technically wat will I do. He also said that he did not need the actual solution. They will just see the way I approach the problem. That an existing problem and they are open to suggestions.3)In google adwords there are about 30 million ads from 42 lanuages . What will I do review the ads and reject ads that do not comply with specific rules .Regarding the criteria under which google bans a ad as illegal – I discussed about different criteria .Out of the criteria’s i told , he asked me to consider only three criteria .
a) Link not working
b) Drug related ads
c) trademarks[trademark used by the companies]I gave lot of approaches like for link not workinga) designing a autobot which will automatically click ads link and check whether it is redirecting to correct page or not . Autobots are used by hackers to get money for the ads they posted . I suggested that by designing similar autobot we can validate the link.b) to check drug related ads -
To detect the language we can first check the geographic location from which the ad is getting posted and can narrow down to some less choices from which we can detect the language
i suggested him that we can create a trie which some specific keywords (like coccaine ) and do pattern matching with that and reject the add it contains any of the works in trie .The interviewer gave me another constraint wat if there comes a ad “coccaine rehabilitation center” we should reject those kind of ads na . thats for a good cause . So i suggested him that i can maintain another set of trie which can contain those set of keywords.Fist check trie1 if drug related keywords exist .
Next check trie 2 if other types of keyword exist.
– if keyword only present in trie1 [reject ad]
– if both tire return true [can reject . but its better that those ad's alone can be subjected to manual evaluation for rejection].I used trie as it can do the pattern matches faster .For trademarks also I discussed using similar datastructures and the interviewer was ok with my answer.

General Tips: I applied for a job in Google jobs page. I know that its very difficult that a resume gets noticed by google.Suddenly one fine day i got a call from Google HR saying that they are interested in my profile and asked me if, i was ready to go with the interview process[Come on! who will say no for Google]. I was surprised.I was asked to take a initial screen test [Online test].
Skills: data structure, Algorithm
College Name: na

Skills evaluated in this interview

Software Developer Interview Questions & Answers

user image amazing childrens

posted on 1 Oct 2024

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(5 Questions)

  • Q1. Introduce yourself
  • Ans. 

    I am a software developer with 5 years of experience in Java, Python, and SQL.

    • 5 years of experience in Java, Python, and SQL

    • Worked on developing web applications using Java Spring framework

    • Proficient in database management with SQL

  • Answered by AI
  • Q2. Array question of leetcode
  • Q3. Python basic and medium
  • Q4. C++ standard template library
  • Q5. Dynamic programming questions

Software Developer Interview Questions Asked at Other Companies

asked in Amazon
Q1. Maximum Subarray Sum Problem Statement Given an array of integers ... read more
asked in Amazon
Q2. Minimum Number of Platforms Needed Problem Statement You are give ... read more
asked in Rakuten
Q3. Merge Two Sorted Arrays Problem Statement Given two sorted intege ... read more
asked in Nagarro
Q4. Crazy Numbers Pattern Challenge Ninja enjoys arranging numbers in ... read more
asked in PhonePe
Q5. Form a Triangle Problem Statement You are given an array of integ ... read more
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-

I applied via campus placement at Indian Institute of Technology (IIT), Jodhpur

Round 1 - Technical 

(2 Questions)

  • Q1. What is tree in data structure
  • Q2. What is hashing in data structure

Interview Preparation Tips

Interview preparation tips for other job seekers - good
Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via AmbitionBox and was interviewed in Apr 2024. There were 3 interview rounds.

Round 1 - Aptitude Test 

An aptitude test is an exam used to determine an individual's skill or propensity to succeed in a given activity.

Round 2 - Technical 

(4 Questions)

  • Q1. Why is Java a platform independent language?
  • Ans. 

    Java is platform independent due to its bytecode and JVM implementation.

    • Java code is compiled into bytecode, which can run on any platform with a Java Virtual Machine (JVM)

    • JVM acts as an interpreter, translating bytecode into machine code specific to the underlying platform

    • This allows Java programs to be written once and run anywhere, without the need for recompilation

  • Answered by AI
  • Q2. What are Static Binding and Dynamic Binding?
  • Ans. 

    Static binding is resolved at compile time, while dynamic binding is resolved at runtime.

    • Static binding is also known as early binding, where the method call is resolved at compile time based on the type of the object.

    • Dynamic binding is also known as late binding, where the method call is resolved at runtime based on the actual type of the object.

    • Example of static binding: method overloading.

    • Example of dynamic binding:

  • Answered by AI
  • Q3. Explain Virtual Machine (JVM) architecture.
  • Ans. 

    JVM is a virtual machine that enables a computer to run Java programs.

    • JVM is platform-independent and converts Java bytecode into machine code.

    • It consists of class loader, runtime data areas, execution engine, and native method interface.

    • JVM manages memory, garbage collection, and exception handling.

    • Examples of JVM implementations include Oracle HotSpot, OpenJ9, and GraalVM.

  • Answered by AI
  • Q4. What is the lambda expression in JAVA?
  • Ans. 

    Lambda expression in JAVA is a concise way to represent a method implementation using a functional interface.

    • Lambda expressions are used to provide a more concise way to implement functional interfaces in JAVA.

    • They are similar to anonymous classes but with less boilerplate code.

    • Lambda expressions can be used to pass behavior as an argument to a method.

    • Syntax: (parameters) -> expression or (parameters) -> { statements;

  • Answered by AI
Round 3 - HR 

(1 Question)

  • Q1. Tell me something about yourself?
  • Ans. Thank you for allowing me to introduce myself. My name is Sivaranjani and I am from Salem City in Tamilnadu. I completed my bachelor degree with the CSE branch from Muthayammal Engineering College. First of all, I want to introduce myself with my soft skills. I am optimistic, smart, self-confident, hardworking, and have a positive mindset. My technical skills include proficiency in Java programming language, C program...
  • Answered Anonymously

Interview Preparation Tips

Topics to prepare for Google Software Developer interview:
  • Core Java
  • Advanced Java
  • MySQL
Interview preparation tips for other job seekers - Consider what you enjoy doing and what makes you happy.

Skills evaluated in this interview

Google interview questions for designations

 Software Developer Intern

 (17)

 Junior Software Developer

 (1)

 Full Stack Software Developer

 (1)

 Developer

 (2)

 Software Engineer

 (121)

 Software Tester

 (2)

 Java Developer

 (7)

 Web Developer

 (5)

Interview experience
2
Poor
Difficulty level
-
Process Duration
-
Result
-
Round 1 - One-on-one 

(2 Questions)

  • Q1. Binary search on array
  • Ans. 

    Binary search is a fast search algorithm that finds the position of a target value within a sorted array.

    • Ensure the array is sorted before performing binary search.

    • Compare the target value with the middle element of the array.

    • If the target value is less than the middle element, search the left half of the array. If it is greater, search the right half.

    • Repeat the process until the target value is found or the subarray i

  • Answered by AI
  • Q2. Multi source bfs on the array
  • Ans. 

    Multi-source BFS on an array of strings involves finding the shortest path from multiple starting points to a target point.

    • Implement BFS algorithm to traverse the array of strings starting from multiple sources simultaneously.

    • Maintain a queue of nodes to visit next, and keep track of visited nodes to avoid revisiting.

    • Update the distance of each node from the sources as you traverse the array.

    • Example: Given an array of ...

  • Answered by AI

Skills evaluated in this interview

Get interview-ready with Top Google Interview Questions

Software Developer Interview Questions & Answers

user image Avinash Kumar S S

posted on 9 Oct 2024

Interview experience
5
Excellent
Difficulty level
Hard
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Referral and was interviewed in Sep 2024. There was 1 interview round.

Round 1 - Technical 

(2 Questions)

  • Q1. Explain about your project in detail
  • Ans. 

    Developed a web application for online shopping with user authentication and payment gateway integration.

    • Implemented user authentication using JWT tokens

    • Integrated Stripe API for payment processing

    • Designed responsive UI using React and Bootstrap

    • Utilized Node.js for backend development

  • Answered by AI
  • Q2. Asked to solve 2 leetcode hard problems
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

DSA hard of dp and tree and graph, segments

Round 2 - Coding Test 

DSA medium questions were asked in the interview

Round 3 - One-on-one 

(1 Question)

  • Q1. DSA medium to hard
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

Test was conducted online on HAckerrank platform

Round 2 - Technical 

(2 Questions)

  • Q1. Sliding window , easy leetcode
  • Q2. HASHMAP ,find the all buddy
  • Ans. 

    A HashMap is a data structure that stores key-value pairs. To find all buddies in a HashMap, we need to iterate through the entries and compare values.

    • Iterate through the entries of the HashMap

    • Compare values to find buddies

    • Store buddies in an array of strings

  • Answered by AI

Skills evaluated in this interview

Software Developer interview

user image Clément Mihailescu

posted on 27 Nov 2021

Interview experience
2
Poor
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. C++ is bad that java why?
  • Ans. 

    C++ and Java have different strengths and weaknesses, it's not accurate to say one is 'bad' compared to the other.

    • C++ is closer to the hardware and allows for more low-level programming, while Java is more platform-independent and easier to learn.

    • C++ gives more control over memory management, but this can lead to more bugs if not handled properly.

    • Java has automatic garbage collection, making memory management easier fo...

  • Answered by AI
  • Q2. Why is google better than facebook?
  • Ans. 

    Google is better than Facebook due to its focus on search and information retrieval.

    • Google's primary focus is on search and information retrieval, while Facebook is more focused on social networking.

    • Google's search algorithm is more advanced and accurate compared to Facebook's search functionality.

    • Google offers a wide range of services beyond social networking, such as Google Maps, Gmail, and Google Drive.

    • Google has a ...

  • Answered by AI

Software Developer Interview Questions & Answers

user image Aditya Mishra

posted on 11 Jan 2025

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. Palindrome of the number we have to return
  • Ans. 

    Return the palindrome of a given number

    • Check if the number is equal to its reverse to determine if it is a palindrome

    • Convert the number to a string to easily reverse it

    • Handle negative numbers by converting them to positive before checking for palindrome

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Do your best and try to solve the problem as fast as possible

Google Interview FAQs

How many rounds are there in Google Software Developer interview?
Google interview process usually has 2-3 rounds. The most common rounds in the Google interview process are Coding Test, Technical and Resume Shortlist.
How to prepare for Google Software Developer interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at Google. The most common topics and skills that interviewers at Google expect are CRM and SAP ABAP.
What are the top questions asked in Google Software Developer interview?

Some of the top questions asked at the Google Software Developer interview -

  1. Say you have three tables WORK, USERS, MANAGERS WORK - work_id - user_id - how_...read more
  2. a / b c / / d e f g Print the nodes in the following order: a...read more
  3. If you had an opportunity to design the Google Suggest system, please let us kn...read more
How long is the Google Software Developer interview process?

The duration of Google Software Developer interview process can vary, but typically it takes about less than 2 weeks to complete.

Tell us how to improve this page.

Google Software Developer Interview Process

based on 106 interviews

3 Interview rounds

  • Coding Test Round - 1
  • Coding Test Round - 2
  • Coding Test Round - 3
View more
Google Software Developer Salary
based on 1.1k salaries
₹20.8 L/yr - ₹60 L/yr
323% more than the average Software Developer Salary in India
View more details

Google Software Developer Reviews and Ratings

based on 176 reviews

4.5/5

Rating in categories

4.5

Skill development

4.5

Work-life balance

4.5

Salary

4.4

Job security

4.5

Company culture

4.5

Promotions

4.5

Work satisfaction

Explore 176 Reviews and Ratings
Software Engineer
1.7k salaries
unlock blur

₹20 L/yr - ₹75 L/yr

Software Developer
1.1k salaries
unlock blur

₹20.8 L/yr - ₹60 L/yr

Senior Software Engineer
657 salaries
unlock blur

₹24 L/yr - ₹87.8 L/yr

Data Scientist
268 salaries
unlock blur

₹24.3 L/yr - ₹55.5 L/yr

Sde1
257 salaries
unlock blur

₹14 L/yr - ₹55 L/yr

Explore more salaries
Compare Google with

Yahoo

4.6
Compare

Amazon

4.1
Compare

Facebook

4.4
Compare

Microsoft Corporation

4.0
Compare
Did you find this page helpful?
Yes No
write
Share an Interview