Upload Button Icon Add office photos

Filter interviews by

Clear (1)

Google Software Developer Intern Interview Questions, Process, and Tips

Updated 6 Oct 2024

Top Google Software Developer Intern Interview Questions and Answers

  • Q1. Hotel Room Booking Problem You are managing a hotel with 10 floors numbered from 0 to 9. Each floor contains 26 rooms labeled from A to Z. You will receive a sequence of ...read more
  • Q2. Majority Element - II Problem Statement Given an array/list ARR of integers with length 'N', identify all elements that appear more than floor(N/3) times within the arra ...read more
  • Q3. Remove K Corner Elements - Problem Statement Given an array "arr" consisting of "N" integer elements, your task is to remove "K" elements from the beginning or the end o ...read more
View all 30 questions

Google Software Developer Intern Interview Experiences

15 interviews found

I was interviewed in Oct 2020.

Round 1 - Coding Test 

(2 Questions)

Round duration - 60 minutes
Round difficulty - Easy

Timing: Between 3-5 pm we could take the test anytime
The test environment was hackerrank. Great user interface and I did not suffer anyt problems.
There was no interviewer as it was coding test. 
There were 2 coding questions asked.

  • Q1. 

    Subset OR Problem Statement

    You are given an array/list ARR of N positive integers. Your task is to determine the size of the smallest subset that achieves the maximum possible OR value among all subsets.

    ...
  • Ans. 

    Find the size of the smallest subset with maximum OR value among all subsets of an array of positive integers.

    • Iterate through all possible subsets of the array

    • Calculate the OR value for each subset

    • Track the size of the smallest subset with maximum OR value

  • Answered by AI
  • Q2. 

    Wildcard Queries Problem Statement

    Given a dictionary D with N words, each of a fixed length L and consisting only of lowercase English alphabets, answer Q queries. Each query consists of a word W of the ...

  • Ans. 

    Given a dictionary and queries with wildcard characters, determine how many words in the dictionary can match each query.

    • Iterate through each query and dictionary word to check for matches

    • Replace '?' with all possible lowercase letters and compare with dictionary words

    • Count the number of matches for each query

  • Answered by AI
Round 2 - Video Call 

(2 Questions)

Round duration - 45 minutes
Round difficulty - Medium

Timing was late at night ie 9:30 PM for this round.
The environment was nice. It was on Google meet.
The interviewer was very friendly and explained the question well

  • Q1. 

    Rat in a Maze Problem Statement

    You need to determine all possible paths for a rat starting at position (0, 0) in a square maze to reach its destination at (N-1, N-1). The maze is represented as an N*N ma...

  • Ans. 

    Find all possible paths for a rat in a maze to reach its destination, given a matrix representation of the maze.

    • Use backtracking to explore all possible paths from the starting position to the destination.

    • Keep track of the current path and explore all possible directions at each step.

    • Terminate the exploration when reaching the destination and add the path to the result list.

    • Sort the result list of paths in alphabetical

  • Answered by AI
  • Q2. 

    BFS Traversal in a Graph

    Given an undirected and disconnected graph G(V, E) where V vertices are numbered from 0 to V-1, and E represents edges, your task is to output the BFS traversal starting from the ...

  • Ans. 

    BFS traversal of an undirected and disconnected graph starting from vertex 0.

    • Implement BFS algorithm to traverse the graph starting from vertex 0.

    • Use a queue to keep track of visited nodes and their neighbors.

    • Ensure to print the nodes in numerical sort order when multiple neighbors are present.

    • Handle disconnected components by checking for unvisited nodes.

    • Output the BFS traversal sequence for each test case in a separa

  • Answered by AI

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - Intern in BangaloreEligibility criteriaNo CriteriaGoogle interview preparation:Topics to prepare for the interview - Dynamic Programming, Trees, Graphs, Arrays, StringsTime required to prepare for the interview - 1 monthInterview preparation tips for other job seekers

Tip 1 : Prepare core concepts well
Tip 2 : Practice medium level and hard questions 
 

Application resume tips for other job seekers

Tip 1 : Put good projects and experiences.
Tip 2 : Generally, don't put any false things on resume.

Final outcome of the interviewRejected

Skills evaluated in this interview

I was interviewed in Sep 2020.

Round 1 - Coding Test 

(2 Questions)

Round duration - 45 minutes
Round difficulty - Easy

Timing : Evening

  • Q1. 

    Distance Between Two Nodes in a Binary Tree

    Given a binary tree and the values of two distinct nodes, determine the distance between these two nodes in the tree. The distance is defined as the minimum num...

  • Ans. 

    Calculate the distance between two nodes in a binary tree.

    • Traverse the tree to find the paths from the root to each node

    • Find the lowest common ancestor of the two nodes

    • Calculate the distance by adding the distances from the LCA to each node

    • Return -1 if either node is not present in the tree

  • Answered by AI
  • Q2. 

    Delete Leaf Nodes with Value X

    Given a binary tree where each node contains an integer value, and an integer X, your task is to delete all leaf nodes that have the value X. Continue to remove newly formed...

  • Ans. 

    Delete all leaf nodes with value X in a binary tree until no such leaves exist.

    • Traverse the tree in postorder fashion to delete leaf nodes with value X

    • Recursively call the function on left and right subtrees

    • Update the root of the tree after removing leaf nodes with value X

  • Answered by AI
Round 2 - Video Call 

(1 Question)

Round duration - 45 minutes
Round difficulty - Easy

Timing : 10:00 pm

  • Q1. 

    Maximum Sum Path from Leaf to Root Problem

    You are tasked with finding the path from a leaf node to the root node in a binary tree, such that this path has the maximum sum among all root-to-leaf paths.

    I...

  • Ans. 

    Find the path from a leaf node to the root node in a binary tree with the maximum sum.

    • Traverse the binary tree from leaf to root while keeping track of the sum along the path.

    • Compare the sums of all root-to-leaf paths and return the path with the maximum sum.

    • Use recursion to traverse the tree efficiently and update the sum as you go.

    • Consider edge cases like null nodes and negative values in the tree.

  • Answered by AI
Round 3 - Video Call 

(1 Question)

Round duration - 45 minutes
Round difficulty - Easy

Timimg : 11:00 pm

  • Q1. 

    Ninja and the Bulbs Challenge

    Ninja owns an electronic shop and possesses 'N' bulbs. To verify the quality of the bulbs, Ninja performs a unique technique. After 'N' rounds of this process, bulbs that rem...

  • Ans. 

    Determine the number of good quality bulbs remaining after 'N' rounds of a unique technique.

    • In each round, bulbs are toggled based on their position (e.g. every second bulb, every third bulb, etc.)

    • At the end of 'N' rounds, count the bulbs that remain on to determine the number of good quality bulbs.

    • Example: For N = 4, bulbs 1 and 4 remain on, so the output is 2.

  • Answered by AI

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from Chitkara University. I applied for the job as SDE - Intern in HyderabadEligibility criteriaMust be enrolled in a Bachelor's degreeGoogle interview preparation:Topics to prepare for the interview - Data Structures, Algorithms, Dynamic Programming, Trees, Operating SystemTime required to prepare for the interview - 7-8 monthsInterview preparation tips for other job seekers

Tip 1 : Practice as much you can
Tip 2 : Study Data Structures
Tip 3 : Be confident

Application resume tips for other job seekers

Tip 1 : Mention only what you are confident about
Tip 2 : Mention tools & technologies used in the project as well

Final outcome of the interviewRejected

Skills evaluated in this interview

Software Developer Intern Interview Questions Asked at Other Companies

Q1. Sum of Maximum and Minimum Elements Problem Statement Given an ar ... read more
asked in Amazon
Q2. Fish Eater Problem Statement In a river where water flows from le ... read more
asked in Apple
Q3. Kevin and his Fruits Problem Statement Kevin has 'N' buckets, eac ... read more
asked in CommVault
Q4. Sliding Maximum Problem Statement Given an array of integers ARR ... read more
Q5. Reverse Words in a String: Problem Statement You are given a stri ... read more

I was interviewed in Sep 2020.

Round 1 - Coding Test 

(2 Questions)

Round duration - 60 minutes
Round difficulty - Easy

Timing : Evening
Online : No webcam proctoring

  • Q1. 

    Count Distinct Bitwise OR of All Subarrays

    Given an array of positive integers, determine the number of distinct values obtained by applying the bitwise OR operation on all possible subarrays.

    Explanatio...

  • Ans. 

    Count distinct values obtained by applying bitwise OR operation on all possible subarrays of an array of positive integers.

    • Use a set to store distinct values obtained by bitwise OR operation on all subarrays.

    • Iterate through all subarrays efficiently to calculate distinct values.

    • Optimize the solution to handle large input sizes efficiently.

  • Answered by AI
  • Q2. 

    Problem: Search In Rotated Sorted Array

    Given a sorted array that has been rotated clockwise by an unknown amount, you need to answer Q queries. Each query is represented by an integer Q[i], and you must ...

  • Ans. 

    Search for integers in a rotated sorted array efficiently using binary search.

    • Use binary search to efficiently find the index of each query integer in the rotated sorted array.

    • Handle the rotation of the array by finding the pivot point first.

    • Check which half of the array the query integer falls into based on the pivot point.

    • Return the index of the query integer if found, else return -1.

  • Answered by AI
Round 2 - Video Call 

(2 Questions)

Round duration - 45+45= 90 minutes
Round difficulty - Easy

2 rounds of interview of 45 minutes each
Was scheduled late at night: 9 pm(Interviewers were from USA)
Through Google meet and google online code platform
One interviewer per session

  • Q1. 

    Count Palindrome Words in a String

    Given a string 'S' consisting of words, your task is to determine the number of palindrome words within 'S'. A word is considered a palindrome if it reads the same backw...

  • Ans. 

    Count the number of palindrome words in a given string.

    • Split the string into words using whitespace as delimiter.

    • Check each word if it is a palindrome by comparing it with its reverse.

    • Increment a counter for each palindrome word found.

    • Output the final count of palindrome words for each test case.

  • Answered by AI
  • Q2. 

    House Robber Problem Statement

    Mr. X is a professional robber with a plan to rob houses arranged in a circular street. Each house has a certain amount of money hidden, separated by a security system that ...

  • Ans. 

    House Robber problem - determine maximum amount of money to rob without triggering alarm in circular arrangement of houses.

    • Use dynamic programming to keep track of maximum money robbed at each house.

    • Consider two cases: robbing the first house and not robbing the first house.

    • Handle circular arrangement by considering the first and last house separately.

    • Example: For arr[] = {2, 3, 2}, the output is 3. Mr. X robs house 2.

    • ...

  • Answered by AI

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from Vellore Institute of Technology. I applied for the job as SDE - Intern in BangaloreEligibility criteriaNo BacklogsGoogle interview preparation:Topics to prepare for the interview - Graph Theory, Data Structures, STL library, Dynamic Programming, Time and Space ComplexityTime required to prepare for the interview - 3 monthsInterview preparation tips for other job seekers

Tip 1 : Do mock interviews. With your friends, mentors, or even in front f the mirror. Questions you are sure of may suddenly have you at a loss during the actual interview.
Tip 2 : Practice all the basic programming algorithms and repeated questions. Coding Ninja's courses is a good place to start.
Tip 3 : Practice solving programs in a limited timeframe. You get only 45 minutes in the interview!

Application resume tips for other job seekers

Tip 1 : Tailor your resume according to the job description. Ensure your skills matches those required, and your projects are on the same topic.
Tip 2 : Google also gives an option of cover letter. Use it! Make it personal, interesting and witty.

Final outcome of the interviewRejected

Skills evaluated in this interview

I was interviewed before Sep 2020.

Round 1 - Coding Test 

(2 Questions)

Round duration - 60 Minutes
Round difficulty - Medium

The test was held at 3:00 P.M on Hackerearth and we were provided separate Login IDS and Passwords for the same.
There were 2 coding questions .

  • Q1. 

    Hotel Room Booking Problem

    You are managing a hotel with 10 floors numbered from 0 to 9. Each floor contains 26 rooms labeled from A to Z. You will receive a sequence of strings representing room bookings...

  • Ans. 

    Given a sequence of room bookings and freeings, find the room that is booked the most times.

    • Create a hashmap to store the count of each room booking.

    • Iterate through the sequence of bookings and freeings, updating the count in the hashmap.

    • Find the room with the highest count and return it. In case of a tie, return the lexicographically smaller room.

    • Example: For input n = 6, Arr[] = {"+1A", "+3E", "-1A", "+4F", "+1A", "-

  • Answered by AI
  • Q2. 

    Maximum Time Problem Statement

    You are given a string that represents time in the format hh:mm. Some of the digits are blank (represented by ‘?’). Your task is to fill in ‘?’ such that the time represente...

  • Ans. 

    Given a string representing time with some digits as '?', fill in '?' to get maximum time.

    • Iterate through each digit of the input string and replace '?' with the maximum possible digit based on the position.

    • For the first digit (hours), if it is '?', replace it with '2' if the second digit is also '?', else replace it with '1'.

    • For the second digit (hours), if it is '?', replace it with '3' if the first digit is '2', els...

  • Answered by AI
Round 2 - Video Call 

(1 Question)

Round duration - 45 Minutes
Round difficulty - Medium

This round was held on Google Meet at 10:00 A.M and there were 2 interviewers.
They were friendly and helped whenever we got stuck.

  • Q1. 

    Count Ways to Reach the N-th Stair Problem Statement

    You are provided with a number of stairs, and initially, you are located at the 0th stair. You need to reach the Nth stair, and you can climb one or tw...

  • Ans. 

    The problem involves finding the number of distinct ways to climb N stairs by taking 1 or 2 steps at a time.

    • Use dynamic programming to solve the problem efficiently.

    • The number of ways to reach the Nth stair is the sum of the number of ways to reach the (N-1)th stair and the (N-2)th stair.

    • Handle base cases for N=0 and N=1 separately.

    • Consider using modulo operation to avoid overflow for large values of N.

  • Answered by AI

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - Intern in BangaloreEligibility criteriaGood Resume and Above 8 CGPAGoogle interview preparation:Topics to prepare for the interview - Dynamic Programming, Greedy Techniques, Data Structures ( STL ), DBM, SComputer Networks, Front-End Web Development ( HTML,CSS,JS,Jquery,React), OOPSTime required to prepare for the interview - 3 MonthsInterview preparation tips for other job seekers

Tip 1 : Don't try to lie to your interviewer because he's experienced and knows us very well
Tip 2 : Don't just rely on previous years questions as pattern can change
Tip 3 : Try hands on Competitive Programming and at last 2 months on Leetcode also.

Application resume tips for other job seekers

Tip 1 : Have a good GPA as major shortlisting is done on its basis
Tip 2 : Mention at least a project or past experience.

Final outcome of the interviewSelected

Skills evaluated in this interview

Google interview questions for designations

 Software Engineer Intern

 (3)

 Software Developer

 (88)

 Junior Software Developer

 (1)

 Frontend Developer Intern

 (1)

 Fullstack Developer Intern

 (1)

 Full Stack Software Developer

 (1)

 SDE Intern

 (1)

 Software Development Engineer Intern

 (6)

I was interviewed before Sep 2020.

Round 1 - Assignment 

(4 Questions)

  • Q1. 

    Minimum Removals Problem Statement

    Given an integer array ARR of size N and an integer K, determine the minimum number of elements that need to be removed so that the difference between the maximum and mi...

  • Q2. 

    Distance Between Two Nodes in a Binary Tree

    Given a binary tree and the values of two distinct nodes, determine the distance between these two nodes in the tree. The distance is defined as the minimum num...

  • Q3. 

    Majority Element - II Problem Statement

    Given an array/list ARR of integers with length 'N', identify all elements that appear more than floor(N/3) times within the array/list.

    Input:

    T (number of test ...
  • Q4. 

    Consecutive Elements

    Given an array arr of N non-negative integers, determine whether the array consists of consecutive numbers. Return true if they do, and false otherwise.

    Input:

    The first line of inp...

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from Indira Gandhi Delhi Technical University for Women. Eligibility criteriaNo current backlogs
Google interview Rounds:Round 1
Round type - Video Call
Round duration - 45 Minutes
Round difficulty - Easy
Round description -

The round was held in the evening, it was a telephonic interview on Google meet. The interviewer was very friendly and told me to relax and focussed.


Round 2
Round type - Video Call
Round duration - 45 Minutes
Round difficulty - Medium
Round description -

Telephonic round on Google meet. 
In the evening

Google interview preparation:Topics to prepare for the interview - Data Structures, Algorithms, Arrays, Trees, Hashing, 2 pointers, prefix sum, sorting implementationsTime required to prepare for the interview - 4 MonthsInterview preparation tips for other job seekers

Tip 1 : Build a strong resume reflecting your coding skills for the resume shortlisting round. (Mention some achievements to highlight your resume) 
Tip 2 : Good knowledge of data structures and algorithms
Tip 3 : Proficient in at least one coding language.

Application resume tips for other job seekers

Tip 1 : Build a strong resume reflecting your coding skills including some simple projects in any tech bucket. 
Tip 2 : Mention some achievements to highlight your resume and different from other candidates.

Final outcome of the interviewSelected

Skills evaluated in this interview

Get interview-ready with Top Google Interview Questions

Contribute & help others!
anonymous
You can choose to be anonymous

Google Interview FAQs

How many rounds are there in Google Software Developer Intern 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.
What are the top questions asked in Google Software Developer Intern interview?

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

  1. What is software intern develo...read more
  2. Related to dsa topics like trees, graphs and...read more
  3. Graphs circles and radius quest...read more

Recently Viewed

DESIGNATION

INTERVIEWS

State Bank of India

No Interviews

INTERVIEWS

Kotak Mahindra Bank

No Interviews

LIST OF COMPANIES

HSBC Electronic Data Processing

Locations

INTERVIEWS

Axis Bank

No Interviews

INTERVIEWS

Yes Bank

No Interviews

INTERVIEWS

Bank of America

No Interviews

INTERVIEWS

Vishnu Eye Clinic

No Interviews

INTERVIEWS

Kotak Mahindra Bank

No Interviews

INTERVIEWS

ICICI Bank

No Interviews

Tell us how to improve this page.

Google Software Developer Intern Interview Process

based on 8 interviews

2 Interview rounds

  • Coding Test Round
  • Video Call Round
View more
Google Software Developer Intern Salary
based on 6 salaries
₹4.5 L/yr - ₹14.6 L/yr
44% more than the average Software Developer Intern Salary in India
View more details

Google Software Developer Intern Reviews and Ratings

based on 2 reviews

4.0/5

Rating in categories

5.0

Skill development

3.0

Work-life balance

3.0

Salary

4.0

Job security

4.9

Company culture

4.9

Promotions

4.0

Work satisfaction

Explore 2 Reviews and Ratings
Software Engineer
1.8k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Software Developer
1.1k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Senior Software Engineer
680 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Data Scientist
274 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Sde1
257 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Explore more salaries
Compare Google with

Yahoo

4.6
Compare

Amazon

4.1
Compare

Facebook

4.3
Compare

Microsoft Corporation

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