Google inc interview experience Real time questions & tips from candidates to crack your interview

Software Engineer

Google inc
upvote
share-icon
4 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 5 Months
Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming
Tip
Tip

Tip 1 : give mock interview
Tip 2 : practice a lot

Application process
Where: Campus
Eligibility: No critera
Resume Tip
Resume tip

Tip 1 : short and crisp
Tip 2 : use grammarly and edit your sentences with more numbers than english

Interview rounds

01
Round
Easy
Online Coding Interview
Duration90 Minutes
Interview date17 May 2022
Coding problem1

1. Circle of Words

Ninja
63m average time
25% success
0/200
Asked in companies
SamsungUrban Company (UrbanClap)Google inc

You are given an array/list of words, your task is to check whether the individual words can be rearranged to form a circle.

Two words, ‘X’ and ‘Y’, can be put together in a circle if the last character of ‘X’ is the same as the first character of ‘Y’ or vice versa.

For Example:
For the array [ “TUNA”, “TIGER”, “RABBIT”, “RAT”, “ANTEATER” ],

A possible circle can be:

Try solving now
02
Round
Easy
Online Coding Interview
Duration90 Minutes
Interview date17 May 2022
Coding problem1

1. System Design Question

Design a vending machjne which syncs with a server

03
Round
Medium
Online Coding Interview
Duration90 Minutes
Interview date17 May 2022
Coding problem1

1. Convert Sorted Array to BST

Easy
15m average time
85% success
0/40
Asked in companies
WalmartUST GlobalAngel One Wealth

You have been given a sorted array of length ‘N’. You need to construct a balanced binary search tree from the array. If there can be more than one possible tree, then you can return any.

Note:

1. A balanced binary tree is a binary tree structure in which the left and right subtrees of every node differ in height by no more than 1.

2. A binary search tree is a binary tree data structure, with the following properties
    a. The left subtree of any node contains nodes with value less than the node’s value.
    b. The right subtree of any node contains nodes with values equal to or greater than the node’s value.
    c. Right, and left subtrees are also binary search trees.

Example:

Below tree, is a balanced binary search tree

1

Below tree is not a balanced tree as the height of the left subtree and right subtree of node ‘5’ differs by more than 1. Moreover, the tree is also not a BST as node ‘2’ is less than node ‘3’ but ‘2’ is the right child of ‘3’.

1

Try solving now
04
Round
Medium
Online Coding Interview
Duration90 Minutes
Interview date18 May 2022
Coding problem1
Easy
0/40
Asked in company
Google inc

Create a class named Person with a string variable 'name' and an integer variable 'age,' such that these variables are not accessible outside the class and implement a way to initialize the variables and print the variables.

Functions:
1.setValue- that sets the variables value.
2.getValue- that prints the variables value.
Try solving now

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
company logo
Software Engineer
4 rounds | 4 problems
Interviewed by Google inc
5111 views
2 comments
0 upvotes
company logo
Software Engineer
3 rounds | 6 problems
Interviewed by Google inc
2438 views
0 comments
0 upvotes
company logo
Software Engineer
2 rounds | 4 problems
Interviewed by Google inc
2292 views
0 comments
0 upvotes
company logo
Software Engineer
3 rounds | 4 problems
Interviewed by Google inc
1492 views
1 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Engineer
3 rounds | 7 problems
Interviewed by Optum
7976 views
1 comments
0 upvotes
company logo
Software Engineer
5 rounds | 5 problems
Interviewed by Microsoft
10148 views
1 comments
0 upvotes
company logo
Software Engineer
2 rounds | 4 problems
Interviewed by Amazon
4447 views
1 comments
0 upvotes