Upload Button Icon Add office photos

Google

Compare button icon Compare button icon Compare

Filter interviews by

Google Software Engineer, new Grad Interview Questions and Answers

Updated 10 Aug 2018

Google Software Engineer, new Grad Interview Experiences

1 interview found

I applied via Other and was interviewed in Jun 2018. There were 5 interview rounds.

Interview Questionnaire 

8 Questions

  • Q1. The next round was a technical phone screen. I was asked two questions. They were easier from google standards. I was made to code on a shared Google Doc (simulating a white board).
  • Q2. 1. Move Zeros from Leetcode
  • Ans. 

    Move all zeros to the end of the array while maintaining the relative order of the non-zero elements.

    • Iterate through the array and keep track of the index to place the next non-zero element.

    • When encountering a non-zero element, swap it with the element at the current index.

    • After iterating through the array, all zeros will be moved to the end while maintaining the order of non-zero elements.

  • Answered by AI
  • Q3. 2. Level order traversal of BST
  • Ans. 

    Level order traversal of a binary search tree (BST) is a breadth-first search algorithm that visits each level of the tree from left to right.

    • Use a queue to keep track of the nodes to be visited

    • Start with the root node and enqueue it

    • While the queue is not empty, dequeue a node and visit it

    • Enqueue the left and right child of the visited node if they exist

    • Repeat until all nodes have been visited

  • Answered by AI
  • Q4. The last round was a series of technical onsite interviews. These questions are absolutely new, and I had never seen them before.
  • Q5. 1. There is a train that passes the following path: L / \ ... L / \ ... L Each junction tells us the path it is going to take. Once the train passes it'll change the switch a...
  • Ans. 

    Determining the state of switches/junctions after N trains have passed through them.

    • Create an array to represent the state of each switch/junction

    • Iterate through each train and update the state of the corresponding switch/junction

    • Use a loop to simulate the passing of trains and updating of switches/junctions

    • Return the final state of the switches/junctions

  • Answered by AI
  • Q6. 2. Merge subsets with small twist
  • Ans. 

    Merge subsets of strings with a twist

    • Merge subsets of strings into a single array

    • The twist is that each subset should be reversed before merging

    • Return the merged array of reversed subsets

  • Answered by AI
  • Q7. 3. Write a program to solve the 15-Puzzle game. Given a matrix, where one block is empty, align them in the correct order 12 . 2 . 3 . 4 1 . 2 . 3 . 4 10 . 6 . 7 . 1 5...
  • Q8. 4. Number of islands with a twist
  • Ans. 

    Count the number of islands in a grid, where an island is a group of connected 1s.

    • Use depth-first search (DFS) or breadth-first search (BFS) to traverse the grid

    • For each cell with a 1, mark it as visited and explore its neighboring cells

    • Count the number of times you start a new DFS or BFS traversal

  • Answered by AI

Interview Preparation Tips

Round: Resume Shortlist
Experience: After submitting my resume, I was contacted by a recruiter. He asked me general questions about the timeline and status of my other interviews, and walked me through Google's hiring process.

Round: Test
Experience: This round is what Google calls 'Coding Sample'. It is a timed coding challenge consisting of two questions. I found both at a difficulty level of above average.

1. Given time in HH:MM format, what was the last time that could have been displayed using the same subset of digits?

2. There are N rose bushes in your garden. The roses are planted in a row and numbered from 1 to N (from left to right). You know exactly when each rose will come into bloom. Once flowering, the rose plant will bloom forever. Moreover, exactly one rose will start growing every day.
We mark out a continuous segment of the row in which roses are in bloom, and which cannot be expanded by adding other roses at either end. We call this a blossoming group. The size of such a group is the number of rose bushes in it.
Ex. Rose * Rose Rose
1 2 3 4
consists of two blossoming groups: [1:1] and [3:4]. Note that [3:3] is not a valid group, because it can be expanded by adding the fourth rose which is also flowering.
You particularly like long groups. These are blossoming groups containing at least K roses.
Your task is to find the latest day on which there are exactly M long blossoming groups.
Write a function:
class Solution {
public int solution (int[] A, int K, int M);
}
that, given a zero-indexed array A containing N integers (a permutation of numbers from 1 to N), where A[i] denotes the number of roses which will start blooming on day number i+1, returns the latest day (but not larger than N) on which there are exactly M long blossoming groups. If no such day exists, the function should return -1.

General Tips: Google does not spare you, it assess everything - your coding ability, comfort with data structures and algorithms, clean code, naming conventions, communication, thought process, how much time you took, did you ask the right clarifying questions, how many clues did you take.

From what I have realized, what matters the most is that you do not beat around the bush. Once you have thought of the solution, communicate it to your interviewer, he'll either ask you to code or think of a better solution. Think of all the corner cases prior to starting coding. Once you start coding, finish it cleanly in one complete go. Do not revisit your code multiple times to make corrections.

Also, Google takes its own sweet time with decisions. The entire process takes 5-6 weeks, and that is the best case.

I was rejected after the onsite interview. Usually, what follows is you talking to multiple teams who might be interested to hire you. If the team likes you and you like the team, only then a formal offer letter is extended.
Skills: Communication, Problem Solving, Analytical Skills, Time Management
Duration: 1-3 Months

Skills evaluated in this interview

Top trending discussions

View All
Office Jokes
2w
an executive
CTC ≠ Confidence Transfer Credit
Ab toh aisa lagta hai, chillar jaise salary ke liye main kaju katli ban ke jaa rahi hoon. Samajh nahi aata, main zyada ready ho ke jaa rahi hoon ya ye mujhe kam pay kar rahe hain? #CorporateLife #OfficeJokes #UnderpaidButWellDressed
FeedCard Image
Got a question about Google?
Ask anonymously on communities.

Interview questions from similar companies

I applied via Approached by Company and was interviewed before Jun 2021. There were 2 interview rounds.

Round 1 - System test 

(1 Question)

  • Q1. Advantage and disadvantage of framework.
  • Ans. 

    Frameworks provide structure and pre-built components for software development, but can also limit flexibility and require learning curve.

    • Advantage: Provides structure and pre-built components for faster development

    • Advantage: Can improve code quality and maintainability

    • Disadvantage: Can limit flexibility and customization

    • Disadvantage: Requires learning curve and potential dependency issues

    • Example: ReactJS provides a fr...

  • Answered by AI
Round 2 - Technical 

(1 Question)

  • Q1. What is Oops? Advantage and disadvantage
  • Ans. 

    Oops stands for Object-Oriented Programming. It is a programming paradigm that uses objects to represent real-world entities.

    • Advantages: code reusability, modularity, encapsulation, inheritance, polymorphism

    • Disadvantages: complexity, steep learning curve, performance overhead

    • Example: creating a class 'Car' with properties like 'make', 'model', and 'year', and methods like 'start_engine' and 'stop_engine'

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare basics in server side and client side coding

Skills evaluated in this interview

Software Engineer, new Grad Interview Questions Asked at Other Companies

asked in Google
Q1. There is a train that passes through a series of junctions (switc ... read more
asked in Google
Q2. Write a program to solve the 15-Puzzle game. Given a matrix, wher ... read more
asked in Google
Q3. Given the root of a binary search tree (BST), return the level or ... read more
asked in Google
Q4. 1. Move Zeros from Leetcode
asked in Google
Q5. 2. Merge subsets with small twist

I applied via Company Website and was interviewed before Oct 2019. There were 4 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. 1. Core Java - OOPS features, Abstract classes and Interface, Inner Classes, String and Object Class, Equals and HashCode methods, Runtime and Compile time exception, Method overloading and overriding, Cus...

Interview Preparation Tips

Interview preparation tips for other job seekers - 1. Clear Core java concepts firmly
2. Basic DB queries
3. Basic Unix commands

I applied via Naukri.com and was interviewed in Mar 2020. There were 4 interview rounds.

Interview Questionnaire 

2 Questions

  • Q1. What is web service flow
  • Ans. 

    Web service flow is the sequence of steps involved in the communication between a client and a server over the internet.

    • Web service flow involves a client sending a request to a server

    • The server processes the request and sends a response back to the client

    • The response can be in various formats such as XML, JSON, or plain text

    • Web service flow can be synchronous or asynchronous

    • Examples of web services include RESTful API...

  • Answered by AI
  • Q2. How to check ports in Solaris or linux machine
  • Ans. 

    To check ports in Solaris or Linux machine, use the netstat command.

    • Open the terminal and type 'netstat -an' to display all open ports.

    • Use 'netstat -an | grep ' to check if a specific port is open.

    • To check listening ports, use 'netstat -an | grep LISTEN'.

    • For Solaris, use 'netstat -an | grep .' instead of '| grep '.

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Total pathetic experience. What job description is given to you, doesn't matters because you won't be asked for that. Your resume will get shortlisted and then it doesn't matter what u have covered up in your career path, because interview rounds will consist of questions out of your scope. Your resume doesn't needs to be shortlisted at first end if it doesn't suit thier needs. HR people, they are on another level. You share your resume to them, and they will never ever reply back to you. Not a single HR, but it seems everyone has same culture. You keep trying to connect them for support. But they will just keep finding smarter ways to avoid.

Skills evaluated in this interview

I appeared for an interview before Sep 2020.

Round 1 - Face to Face 

(1 Question)

Round duration - 50 minutes
Round difficulty - Easy

This was a Data Structural round.

  • Q1. 

    Distinct Islands Problem Statement

    Given a two-dimensional array/list consisting of integers 0s and 1s, where 1 represents land and 0 represents water, determine the number of distinct islands. A group of...

  • Ans. 

    Count the number of distinct islands in a 2D array of 0s and 1s.

    • Identify islands by performing depth-first search (DFS) on the grid

    • Use a set to store the shape of each island and check for duplicates

    • Consider translations to determine distinct islands

  • Answered by AI
Round 2 - Face to Face 

(1 Question)

Round duration - 50 minutes
Round difficulty - Easy

This was a Data Structural round.

  • Q1. 

    Word Wrap Problem Statement

    You are tasked with arranging 'N' words of varying lengths such that each line contains at most 'M' characters, with each word separated by a space. The challenge is to minimiz...

  • Ans. 

    The goal is to minimize the total cost of arranging 'N' words on each line with a maximum character limit 'M'.

    • Calculate the cost of each line as the cube of extra space characters needed to reach 'M'.

    • Minimize the total cost by arranging words to fit within the character limit on each line.

    • Ensure each word appears fully on one line without breaking across lines.

  • Answered by AI
Round 3 - Face to Face 

(1 Question)

Round duration - 60 minutes
Round difficulty - Easy

This was a System Design round.

  • Q1. Can you design a system similar to Red Bus that can handle bookings and onboard both vendors and customers to the platform?
  • Ans. 

    Design a system similar to Red Bus for handling bookings and onboarding vendors and customers.

    • Implement a user-friendly interface for customers to search and book tickets

    • Create a vendor portal for vendors to manage their offerings and availability

    • Include payment gateway integration for secure transactions

    • Develop a robust backend system for managing bookings, cancellations, and refunds

    • Utilize a database to store user in...

  • Answered by AI
Round 4 - Face to Face 

Round duration - 50 minutes
Round difficulty - Easy

This was a System Design round

Round 5 - Face to Face 

Round duration - 50 minutes
Round difficulty - Easy

This was an HR round.

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from Indian Institute of Technology Roorkee. Microsoft interview preparation:Topics to prepare for the interview - Graphs, Dynamic Programming, Arrays, LinkedList, stringsTime required to prepare for the interview - 1 monthInterview preparation tips for other job seekers

Tip 1 : Practice as much as you can.
Tip 2 : Prepare for company, not in general.
Tip 3 : Your past work should be objective and your contribution should be very clear

Application resume tips for other job seekers

Tip 1 : Keep only relevant things for the job you are applying.
Tip 2 : Minimal data with measurable contribution and effect.

Final outcome of the interviewSelected

Skills evaluated in this interview

I applied via Referral and was interviewed before Aug 2020. There were 5 interview rounds.

Interview Preparation Tips

Interview preparation tips for other job seekers - Be confident and should communicate well in English. Be Truth.

Interview Questionnaire 

1 Question

  • Q1. Spring Collections Difference between list and set What is sorted mean in hashed set java Serialization Exceptions How can you give an exception to caller method Unix- how to move a folder without g...
  • Ans. 

    Interview questions for Software Developer related to Spring, Collections, Serialization, Exceptions, Unix, Annotations, Json, Build tools, Restful services, and more.

    • List and Set are both collection interfaces in Java. List allows duplicates and maintains insertion order while Set doesn't allow duplicates and doesn't maintain any order.

    • Sorted in Hashed Set means that the elements are stored in a sorted order based on ...

  • Answered by AI

Skills evaluated in this interview

Are these interview questions helpful?

I applied via Naukri.com and was interviewed in Jul 2020. There was 1 interview round.

Interview Questionnaire 

1 Question

  • Q1. Related to your technology.

Interview Preparation Tips

Interview preparation tips for other job seekers - Technical rounds would be based on the interviewer and the difficulty would be from good to higher side.
Would suggest the candidate should represent the actual experience with the interviewer.
Be real and emphasise on the challenges that you faced in your current company and how you handled it. It's not always that you have to show yourself as extra smart or hardworking candidate, do share your failure experiences and how it helped you to identify the reasons for the failures.
Lastly again I would say be real and true to your CV.

I applied via Monster and was interviewed before Apr 2020. There was 1 interview round.

Interview Questionnaire 

1 Question

  • Q1. Basic java

Interview Preparation Tips

Interview preparation tips for other job seekers - Be prepared

Interview Preparation Tips

Round: Test
Experience: Approx. 30.questions in 50 min
Tips: Try solving each que in less than a minute ,don't waste time on difficult questions, complete easier once first
Duration: 50 minutes
Total Questions: 30

College Name: Pimpri chinchwad college of engineering

Google Interview FAQs

What are the top questions asked in Google Software Engineer, new Grad interview?

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

  1. 1. There is a train that passes the following path: L / \ ... L ...read more
  2. 3. Write a program to solve the 15-Puzzle game. Given a matrix, where one block...read more
  3. 2. Level order traversal of ...read more

Tell us how to improve this page.

Interview Questions from Similar Companies

Oracle Interview Questions
3.7
 • 892 Interviews
Zoho Interview Questions
4.3
 • 534 Interviews
Amdocs Interview Questions
3.7
 • 530 Interviews
KPIT Technologies Interview Questions
3.3
 • 306 Interviews
SAP Interview Questions
4.2
 • 291 Interviews
Adobe Interview Questions
3.9
 • 247 Interviews
Salesforce Interview Questions
4.0
 • 234 Interviews
Chetu Interview Questions
3.3
 • 197 Interviews
View all
Software Engineer
3k salaries
unlock blur

₹32.5 L/yr - ₹65 L/yr

Software Developer
2.1k salaries
unlock blur

₹33 L/yr - ₹60.3 L/yr

Senior Software Engineer
1.2k salaries
unlock blur

₹38.6 L/yr - ₹72.2 L/yr

Data Analyst
371 salaries
unlock blur

₹15.9 L/yr - ₹35 L/yr

Sde1
367 salaries
unlock blur

₹31.3 L/yr - ₹58.4 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