Upload Button Icon Add office photos

Google

Compare button icon Compare button icon Compare

Filter interviews by

Google Software Engineer Interview Questions and Answers

Updated 2 May 2025

22 Interview questions

A Software Engineer was asked 2mo ago
Q. Explain the concepts of OOPs.
Ans. 

OOP (Object-Oriented Programming) is a programming paradigm based on objects and classes, promoting code reusability and modularity.

  • Encapsulation: Bundling data and methods that operate on the data within one unit (e.g., a class).

  • Inheritance: Mechanism where a new class inherits properties and behavior from an existing class (e.g., a 'Dog' class inheriting from an 'Animal' class).

  • Polymorphism: Ability to present t...

🔥 Asked by recruiter 2 times
A Software Engineer was asked 2mo ago
Q. What is a queue?
Ans. 

A queue is a linear data structure that follows the First-In-First-Out (FIFO) principle for managing data.

  • Elements are added at the rear and removed from the front.

  • Common operations include enqueue (adding) and dequeue (removing).

  • Used in scenarios like print job management and task scheduling.

  • Example: A line of customers at a bank where the first customer served is the first to leave.

Software Engineer Interview Questions Asked at Other Companies

asked in Qualcomm
Q1. Four people need to cross a bridge at night with only one torch t ... read more
asked in Capgemini
Q2. In a dark room, there is a box of 18 white and 5 black gloves. Yo ... read more
Q3. Tell me something about yourself. Define encapsulation. What is i ... read more
asked in Paytm
Q4. Puzzle : 100 people are standing in a circle .each one is allowed ... read more
asked in TCS
Q5. Find the Duplicate Number Problem Statement Given an integer arra ... read more
🔥 Asked by recruiter 2 times
A Software Engineer was asked 2mo ago
Q. What is a queue?
Ans. 

A queue is a linear data structure that follows the First In First Out (FIFO) principle for managing elements.

  • Elements are added at the rear and removed from the front.

  • Common operations include enqueue (adding) and dequeue (removing).

  • Used in scenarios like print job management and task scheduling.

  • Example: A line of customers at a bank where the first customer served is the first to leave.

🔥 Asked by recruiter 3 times
A Software Engineer was asked 3mo ago
Q. Why should we choose you?
Ans. 

I bring a unique blend of technical skills, problem-solving abilities, and a passion for innovation that aligns with your team's goals.

  • Strong technical skills: Proficient in multiple programming languages like Python, Java, and C++.

  • Problem-solving mindset: Successfully developed a solution that reduced processing time by 30% in a previous project.

  • Team player: Collaborated with cross-functional teams to deliver a p...

What people are saying about Google

View All
manishshaw
Verified Icon
2w (edited)
works at
Vyaasa
7 Ways AI Can Help You at Work
AI is changing how we work now, not in some far-off future. Here's how it's showing up in everyday office stuff: 1. Gmail Email Drafting with Gemini: If you're on Google Workspace, Gemini can draft, edit, and summarize emails & docs right in Gmail and Docs. 2. Smarter Slack: Slack's AI (Slack AI) lets you: * Summarize unread messages * Search for answers across your workspace * Get daily digests of what you missed 3. Excel/Sheets Made Easy: Excel Copilot or Google Sheets’ AI can analyze data using simple questions. Ask "what's the sales trend from last quarter?" and get visual answers. 4. Quickly Find Internal Docs: Notion AI or Google Drive’s improved search helps you find stuff like "that pitch deck from February" without needing the exact file name. 5. Automate Tasks: Use Zapier or Make.com for AI workflows: e.g., new form entry → auto-send Slack update → update CRM. How are you using AI at work?
Got a question about Google?
Ask anonymously on communities.
A Software Engineer was asked 5mo ago
Q. Design Google News
Ans. 

Design a news aggregation platform similar to Google News.

  • Implement a user-friendly interface with customizable news categories.

  • Utilize machine learning algorithms to personalize news recommendations.

  • Include features like trending topics, saved articles, and notifications.

  • Partner with reputable news sources for reliable content.

  • Optimize for speed and performance to handle large amounts of data.

  • Ensure data privacy ...

A Software Engineer was asked 6mo ago
Q. Zero Sum Triplets Problem Statement Given an array of integers, return all unique triplets (a, b, c) such that a + b + c = 0. Note that the solution set must not contain duplicate triplets. Example: Input:...
Ans. 

Find unique triplets in an array that sum up to zero.

  • Sort the array first to easily identify duplicates.

  • Use two pointers technique to find the triplets.

  • Skip duplicates to avoid duplicate triplets.

  • Handle edge cases like all zeros or all positive/negative numbers.

  • Time complexity can be improved to O(n^2) using two pointers approach.

A Software Engineer was asked 6mo ago
Q. Rotate the Matrix 90 Degrees ClockwiseGiven an n x n 2D matrix representing an image, rotate the image by 90 degrees (clockwise) in-place.You must do this without using any extra space.Example:Input: matrix...
Ans. 

Rotate an n x n 2D matrix by 90 degrees clockwise in-place without using extra space.

  • Iterate through each layer of the matrix, swapping elements in groups of 4

  • Use variables to store temporary values during swapping

  • Reverse the rows of the matrix to rotate it 90 degrees clockwise

Are these interview questions helpful?
🔥 Asked by recruiter 2 times
A Software Engineer was asked 7mo ago
Q. Given a 2D grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded by water and is formed by connecting adjacent lands horizontally or vertically. You may assume all f...
Ans. 

Count the minimum number of islands in a given grid of trees.

  • Iterate through the grid and for each tree, perform a depth-first search to mark all connected trees as visited.

  • Increment the island count for each new island found.

  • Return the total number of islands at the end.

A Software Engineer was asked 9mo ago
Q. Given two sorted arrays, how would you find their union and intersection?
Ans. 

Find union and intersection of two sorted arrays

  • To find the union, merge both arrays and remove duplicates

  • To find the intersection, iterate through both arrays and compare elements

A Software Engineer was asked 9mo ago
Q. In an array, find the position of the element which is greater than twice the value of all other elements.
Ans. 

Find index of element greater than twice of all other elements in array

  • Iterate through the array to find the maximum element

  • Iterate through the array again to check if any element is greater than twice the maximum element

  • Return the index of the element if found, otherwise return -1

Google Software Engineer Interview Experiences

104 interviews found

Software Engineer Interview Questions & Answers

user image Sahana Sahana

posted on 13 Mar 2025

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

I appeared for an interview in Feb 2025, where I was asked the following questions.

  • Q1. Tell. Me. about your. Self
  • Q2. Why. should. We. choose. You
  • Q3. Hello. I'm..sahana.and.idone.an.mba.With.a.speialization.in.HR.and.makeing.as.well.as.aB.Com.inE.commeres.i'm.done.through.my.inthern.ship.atBestEngineerspump.in.Coimbatore I'm. Passionate about. blending....
  • Q4. You. Should. hire. me because. I bring. a. unique. blend. Of. Skills. in. H.R.and.marketing.supported.by.me.academic.background.and.practial.. experience. managing. projects and. understanding. team. dynam...

Interview Preparation Tips

Interview preparation tips for other job seekers - Speaking slowly and clearly can help appecer relaked and confident
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Not Selected

I applied via Campus Placement and was interviewed in Dec 2024. There were 2 interview rounds.

Round 1 - Coding Test 

The coding questions were at Leetcode difficulty level and were derived from the Striver sheet.

Round 2 - Technical 

(2 Questions)

  • Q1. BFS graph level
  • Q2. Minimum flight distance . I was not shortlisted for interview.

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare DSA well and computer fundamentals.

Software Engineer Interview Questions & Answers

user image SUSHANT WAYBHASE

posted on 3 Jan 2025

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Campus Placement and was interviewed in Dec 2024. There were 4 interview rounds.

Round 1 - Aptitude Test 

It's good and many more things are pending

Round 2 - Aptitude Test 

Very good it was very good best nice very nice

Round 3 - Group Discussion 

God food good water and good everything good

Round 4 - HR 

(3 Questions)

  • Q1. What is name and why this name only
  • Ans. 

    Name is a unique identifier given to an individual to distinguish them from others.

    • Name is used for identification and communication purposes.

    • Names are often chosen by parents at birth, but can also be changed legally.

    • Names can have cultural, religious, or personal significance.

    • Some names are passed down through generations in families.

    • Nicknames or aliases may also be used in addition to a person's given name.

  • Answered by AI
  • Q2. Why we should select you
  • Q3. My parents has given that's why

Interview Preparation Tips

Interview preparation tips for other job seekers - Be confident kuch aye ns aye bss kuch to bolke aana
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. Return triplets where sum is zero
  • Ans. 

    Find unique triplets in an array that sum up to zero.

    • Sort the array first to easily identify duplicates.

    • Use two pointers technique to find the triplets.

    • Skip duplicates to avoid duplicate triplets.

    • Handle edge cases like all zeros or all positive/negative numbers.

    • Time complexity can be improved to O(n^2) using two pointers approach.

  • Answered by AI
Round 2 - Technical 

(1 Question)

  • Q1. Rotate the matrix 90 degrees clockwise
  • Ans. 

    Rotate an n x n 2D matrix by 90 degrees clockwise in-place without using extra space.

    • Iterate through each layer of the matrix, swapping elements in groups of 4

    • Use variables to store temporary values during swapping

    • Reverse the rows of the matrix to rotate it 90 degrees clockwise

  • Answered by AI

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
Hard
Process Duration
Less than 2 weeks
Result
Not Selected

I appeared for an interview in Dec 2024.

Round 1 - Technical 

(1 Question)

  • Q1. Design Google News
Interview experience
2
Poor
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Graph Question Connected components in an undirected graph
  • Q2. Dp question Maximal Product when cutting rope
  • Ans. 

    Maximal Product when cutting rope involves finding the best way to cut a rope to maximize the product of the lengths.

    • Divide the rope into pieces of length 2 or 3 for maximum product.

    • For a rope of length 10, cutting it into three pieces of length 3 and one piece of length 1 gives a product of 27.

    • Using dynamic programming, store results of subproblems to avoid redundant calculations.

    • The formula for the maximum product ca...

  • Answered by AI

Software Engineer Interview Questions & Answers

user image Kavendar Kashyap

posted on 26 Nov 2024

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - One-on-one 

(2 Questions)

  • Q1. What ia Printf funcation use
  • Q2. Printf funcation use
  • Ans. 

    The printf function in C is used to output formatted text to the standard output (usually the console).

    • Syntax: int printf(const char *format, ...);

    • Format specifiers: %d for integers, %f for floating-point numbers, %s for strings.

    • Example: printf('Hello, %s!', 'World'); // Outputs: Hello, World!

    • You can control the width and precision: printf('%.2f', 3.14159); // Outputs: 3.14

    • Escape sequences: Use '\n' for new line, '\t' ...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - What is string

Skills evaluated in this interview

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

(1 Question)

  • Q1. Leetcode questions and fundamental questions based on sql, networking
Round 2 - Coding Test 

2 leetcode hard questions

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare DSA well, do google tagged questions on leetcode
Interview experience
3
Average
Difficulty level
Hard
Process Duration
2-4 weeks
Result
Selected Selected

I appeared for an interview in Jan 2025, where I was asked the following questions.

  • Q1. Explain the difference between ArrayList and LinkedList in Java. When would you choose one over the other?
  • Q2. What are the advantages and disadvantages of using Java’s synchronized keyword for thread synchronization? Can you explain how the ReentrantLock compares to synchronized?
  • Q3. What is the difference between == and .equals() in Java? When should each be used, and what issues can arise from improper usage?
  • Q4. How does the Java garbage collector work? Can you describe the different types of garbage collection algorithms available in Java?
  • Q5. What are the main features of Java 8? Can you explain how lambdas and the Stream API have changed the way Java applications are written?
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Referral and was interviewed in Jul 2024. There were 3 interview rounds.

Round 1 - Coding Test 

2 coding questions in 1 hours.

Round 2 - Technical 

(2 Questions)

  • Q1. Question based on Dynamic programming
  • Q2. Question based on graph
Round 3 - Technical 

(2 Questions)

  • Q1. Question based on Binary Tree
  • Q2. Question based on Stacks

Interview Preparation Tips

Interview preparation tips for other job seekers - Focus on DSA.

Google Interview FAQs

How many rounds are there in Google Software Engineer interview?
Google interview process usually has 2-3 rounds. The most common rounds in the Google interview process are Coding Test, Technical and HR.
How to prepare for Google Software Engineer 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 C++, Recruitment, Networking, Python and Data Structures.
What are the top questions asked in Google Software Engineer interview?

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

  1. If your Wi-Fi router is not working then what you will do to fix ...read more
  2. Which technical skills are required to program efficientl...read more
  3. Given a string of L, M, R, where L means turn to left, R means turn to right an...read more
What are the most common questions asked in Google Software Engineer HR round?

The most common HR questions asked in Google Software Engineer interview are -

  1. What are your strengths and weakness...read more
  2. What are your salary expectatio...read more
  3. Why should we hire y...read more
How long is the Google Software Engineer interview process?

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

Tell us how to improve this page.

Overall Interview Experience Rating

4.3/5

based on 108 interview experiences

Difficulty level

Easy 4%
Moderate 62%
Hard 33%

Duration

Less than 2 weeks 50%
2-4 weeks 26%
4-6 weeks 10%
6-8 weeks 10%
More than 8 weeks 5%
View more
Google Software Engineer Salary
based on 3k salaries
₹32.5 L/yr - ₹80.1 L/yr
445% more than the average Software Engineer Salary in India
View more details

Google Software Engineer Reviews and Ratings

based on 148 reviews

4.4/5

Rating in categories

4.1

Skill development

4.3

Work-life balance

4.4

Salary

4.0

Job security

4.3

Company culture

4.0

Promotions

4.1

Work satisfaction

Explore 148 Reviews and Ratings
Software Engineer, AI Powered Data, Core

Bangalore / Bengaluru

2-5 Yrs

₹ 10-100 LPA

Software Engineer, Multimedia, Kernel and Firmware, Silicon

Bangalore / Bengaluru

2-6 Yrs

₹ 10-80 LPA

Software Engineer, Embedded Systems, Firmware

Bangalore / Bengaluru

2-5 Yrs

₹ 10-100 LPA

Explore more jobs
Software Engineer
3k salaries
unlock blur

₹32.5 L/yr - ₹80 L/yr

Software Developer
2k salaries
unlock blur

₹35.4 L/yr - ₹73.1 L/yr

Senior Software Engineer
1.1k salaries
unlock blur

₹20.8 L/yr - ₹82.1 L/yr

Sde1
378 salaries
unlock blur

₹34.2 L/yr - ₹64 L/yr

Data Analyst
363 salaries
unlock blur

₹16.1 L/yr - ₹35 L/yr

Explore more salaries
Compare Google with

Yahoo

4.6
Compare

Amazon

4.0
Compare

Facebook

4.3
Compare

Microsoft Corporation

3.9
Compare
write
Share an Interview