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

SDE - Intern

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

Interview preparation journey

expand-icon
Preparation
Duration: 3 Months
Topics: Dynamic Programming, Greedy Techniques, Data Structures ( STL ), DBM, SComputer Networks, Front-End Web Development ( HTML,CSS,JS,Jquery,React), OOPS
Tip
Tip

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 process
Where: Other
Eligibility: Good Resume and Above 8 CGPA
Resume Tip
Resume tip

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

Interview rounds

01
Round
Medium
Online Coding Test
Duration60 Minutes
Interview date16 Aug 2020
Coding problem2

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 .

1. Hotel Rooms

Moderate
20m average time
20% success
0/80
Asked in companies
AmazonExpedia GroupInfosys Sp

You are the manager of a hotel having 10 floors numbered 0-9. Each floor has 26 rooms [A-Z]. You will be given a sequence of strings of the room where ‘+’ suggests the room is booked and ‘-’ suggests the room is freed. You have to find which room is booked the maximum number of times.

Note:
You may assume that the sequence is always correct, i.e., every booked room was previously free, and every freed room was previously booked.

In case, 2 rooms have been booked the same number of times, you have to return Lexographically smaller room.

A string 'a' is lexicographically smaller than a string 'b' (of the same length) if in the first position where 'a' and 'b' differ, string 'a' has a letter that appears earlier in the alphabet than the corresponding letter in string 'b'. For example, "abcd" is lexicographically smaller than "acbd" because the first position they differ in is at the second letter, and 'b' comes before 'c'.
For Example :
n = 6, Arr[] = {"+1A", "+3E", "-1A", "+4F", "+1A", "-3E"}

Now in this example room “1A” was booked 2 times which is the maximum number of times any room was booked. Hence the answer is “1A”.
Try solving now

2. Maximum Time

Easy
15m average time
90% success
0/40
Asked in company
Google inc

You are given a string that represents time in the format hh:mm. Some of the digits are blank (represented by ‘?’). Fill in ‘?’ such that the time represented by this string is the maximum possible. Maximum time: 23:59, minimum time: 00:00. You can assume that the input string is always valid.

For Example :
If the given input string is 1?:?8.
We can replace the first ‘?’ with 9 and second with 5 to get the maximum time of 19:58.
Try solving now
02
Round
Medium
Video Call
Duration45 Minutes
Interview date24 Aug 2020
Coding problem2

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.

1. Count Ways To Reach The N-th Stairs

Moderate
30m average time
80% success
0/80
Asked in companies
PayPalOYOMicrosoft

You have been given a number of stairs. Initially, you are at the 0th stair, and you need to reach the Nth stair.


Each time, you can climb either one step or two steps.


You are supposed to return the number of distinct ways you can climb from the 0th step to the Nth step.

Note:

Note: Since the number of ways can be very large, return the answer modulo 1000000007.
Example :
N=3

Example

We can climb one step at a time i.e. {(0, 1) ,(1, 2),(2,3)} or we can climb the first two-step and then one step i.e. {(0,2),(1, 3)} or we can climb first one step and then two step i.e. {(0,1), (1,3)}.
Try solving now

2. DBMS Question

Make a E-R Diagram for OLA serive .
You need to think of the Backend Process. 
Like what happens when you book, who is assigning you the drivers etc.

Here's your problem of the day

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

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Google inc
3013 views
3 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Google inc
1433 views
0 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 5 problems
Interviewed by Google inc
1265 views
0 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 5 problems
Interviewed by Google inc
1343 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Amazon
15481 views
4 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Microsoft
15339 views
1 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Amazon
10142 views
2 comments
0 upvotes