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

SDE - 1

Google
upvote
share-icon
5 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 months
Topics: Data structures, Algorithms, OOPS, DBMS, OS
Tip
Tip

Tip 1 : Over-communication is key
Tip 2 : Self-Advocacy and Initiative are twice as important when working virtually.
Tip 3 : Relaxed and Fresh

Application process
Where: Campus
Eligibility: 7 CGPA
Resume Tip
Resume tip

Tip 1 : Neat and clean. Use a professional font. Include only the most relevant information and put the most important information first. Use active language. 
Tip 2 : Specific about the projects they required and your projects should be in bold.

Interview rounds

01
Round
Easy
Online Coding Interview
Duration60 Minutes
Interview date8 Sep 2020
Coding problem1

1. Technical Questions

How to align a text in a larger web page context?

OOPS Concepts

02
Round
Easy
Online Coding Test
Duration90 minutes
Interview date10 Sep 2020
Coding problem2

1. Alien dictionary

Hard
46m average time
50% success
0/120
Asked in companies
FacebookMedia.netInfo Edge India (Naukri.com)

You have been given a sorted (lexical order) dictionary of an alien language.


Write a function that returns the order of characters as a string in the alien language. This dictionary will be given to you as an array of strings called 'dictionary', of size 'N'.


Example :
If the dictionary consists of the following words:-
["caa", "aaa", "aab"], and 'K' is 3.

Then, the order of the alphabet is -
['c', 'a', 'b']
Note:
If the language consists of four letters, the four letters should be the starting four letters of the English language. 

However, their order might differ in the alien language.
Try solving now

2. Shopping Spree

Hard
50m average time
50% success
0/120
Asked in companies
GoogleBarclaysAmdocs

Preeti has decided to go to the Grand Mall to buy some stuff for her father’s birthday. On reaching the place, she found a fascinating shop that has an unlimited quantity of each item they sell. The shop has N different types of items. However, here Preeti has a fixed budget and can buy a maximum of K items. She can buy any amount of items ≥ 1 and ≤ K.

She can buy an arbitrary quantity of each item. There is no restriction on different items having different quantities. Now, Preeti wonders the number of different ways in which she can shop today. Two ways are considered different if the quantity of at least 1 of the items purchased is different. Preeti finds this task too hard to complete and requires your help. Your task is to find the required answer.

Note:
As the answer can be large, return your answer modulo 10^9  + 7.
Follow Up:
Can you solve this using constant extra space?
Try solving now
03
Round
Easy
Group Discussion
Duration60 Minutes
Interview date11 Sep 2020
Coding problem1

Basic DBMS problems.

1. DBMS Question

RDBMS vs Non RDBMS

Why SQL is very popular?

How do you get second largest salary

What is stored procedure?

04
Round
Easy
Telephonic
Duration30 Minutes
Interview date13 Sep 2020
Coding problem1

He asked basic Database and oops questions and discussion about my projects.

1. OS Questions

Sleeping barber problem.

Disk scheduling algos

Process Scheduling algos

Turnaround time

Threads

05
Round
Easy
HR Round
Duration50 Minutes
Interview date15 Sep 2020
Coding problem1

It was evening. Since it was a telephonic interview so all at the home. Nothing different. 

About my soft skills, resume, and some basic coding stuff. 

Why google? 

Where do you see yourself in 5 years?

1. Count Ways To Reach The N-th Stairs

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

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

Here's your problem of the day

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

Skill covered: Programming

Which SQL clause is used to specify the conditions in a query?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
1 rounds | 2 problems
Interviewed by Google
3541 views
1 comments
0 upvotes
company logo
SDE - 1
1 rounds | 1 problems
Interviewed by Google
1998 views
1 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Google
4291 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by Google
1932 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
113897 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
57280 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34687 views
6 comments
0 upvotes