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

SDE-3

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

Interview preparation journey

expand-icon
Journey
I was approached by a Google HR representative through LinkedIn for a job opportunity. Although I hadn’t been practising DSA for some time, I decided to take on the challenge despite having a full-time job, recognizing that such opportunities don’t come often. I dedicated myself to preparation, and although I didn’t ultimately land the role, the experience significantly improved my DSA skills, strengthening my readiness for future opportunities with other companies.
Why selected/rejected for the role?
I was rejected for this role. The feedback I received indicated that I need to improve my problem-solving and debugging skills.
Preparation
Duration: 1 month
Topics: Since the initial rounds of a Google interview typically focus on DSA, I made it my primary area of preparation, concentrating on key topics such as Trees, Graphs, Dynamic Programming, Binary Search, and Sliding Window techniques.
Tip
Tip

Tip 1: Focus on time-based problem-solving—aim for 20 minutes per medium problem and 40 minutes per hard problem.

Tip 2: Write code on a Google Doc, as this is the format used by Google. Ensure you're familiar with all syntax.

Tip 3: Practice, practice, and more practice.

Application process
Where: Linkedin
Eligibility: No criteria, (Salary Package - 45 LPA + stocks + joining bonus + relocation bonus)
Resume Tip
Resume tip

Tip 1: Keep your LinkedIn profile updated, and turn on the "Open to Work" feature.

Tip 2: Ensure you can justify the work experience listed on your resume.

Interview rounds

01
Round
Hard
Video Call
Duration45 minutes
Interview date1 Mar 2024
Coding problem1

It was the preliminary DSA round conducted by Google. They typically expect you to code two medium or one large problem within 45–50 minutes, with the code being runnable and bug-free.

1. File System Design

Design a file system in your preferred language.
The file system should support the following operations:

  • Add: Add a file to the system given its name and designated path.
  • Delete: Delete a file from the system given its path.
  • Find: Given a file name, return all paths where the file is located (a file can exist in multiple locations).
Problem approach

Step 1: Understand the questions clearly with the interviewer.
Step 2: Ask any clarifying questions. I asked if file duplicates could be present in multiple locations and what the input and output should be for each function.
Step 3: Try to look for a brute-force approach first. I could only think of a tree-based brute force approach at the time, and I explained that.
Step 4: Find the data structure that can best solve this problem. I thought that, because this is a directory structure where going into one folder allows me to choose more folders again, a Trie would be a good approach here.
Step 5: I explained my thought process to the person and discussed the time complexity it would help with. I was trying to optimize it, but the person told me that time was limited and to go ahead with coding.
Step 6: I started writing clean, class-based code. I created multiple functions to perform this functionality using a Trie.

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
0 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 3 problems
Interviewed by Google inc
0 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 3 problems
Interviewed by Google inc
0 views
0 comments
0 upvotes
company logo
SDET-2
2 rounds | 3 problems
Interviewed by Google inc
4573 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE-3
3 rounds | 3 problems
Interviewed by Walmart
2431 views
0 comments
0 upvotes
SDE-3
3 rounds | 3 problems
Interviewed by Dell Technologies
1445 views
0 comments
0 upvotes
company logo
SDE-3
4 rounds | 5 problems
Interviewed by Ola
1405 views
0 comments
0 upvotes