Google Interview
Google Interview
GOOGLE
Interview Process
● Resume Screening
● HR email or call
● Online Assessment
● Phone screening - 1 or 2
● Onsite - 4 to 6
Commonly Asked
● Graphs and Trees - 46%
● Arrays and Strings - 38%
● LinkedLists - 10%
● Searching and sorting - 2%
● Stacks and Queues - 2%
● Hash tables - 2%
Onsite Interviews
BASICS
● Coding on Google Documents. "No IDE/Compiler" ( Practice writing code in a Google doc )
● Code as close fully functional working code (production level code)
● No Pseudo Code
● Please write well structured, clean and neat code with consistent coding style!
● Use proper syntax/indentation, but feel free to clarify uncommon APIs
● Use meaningful variable/function names.
● Your code should be very readable. No errors/bugs.
1. Binary search
2. BFS/DFS/Flood fill
3. Tree traversals
4. Hash tables
5. Linked list, stacks, queues, two pointers/sliding window
6. Binary heaps
7. Dynamic programming
8. Union find
9. Ad hoc/string manipulations
10. Arrays
11. Other good to know topics: Trie, segment trees/fenwick trees, bitmasks
You may want to explore these learning resources:
● https://www.coursera.org/learn/algorithms-part1
● https://www.coursera.org/learn/algorithms-part2
● https://www.udacity.com/course/intro-to-algorithms--cs215
● https://ocw.mit.edu/courses/electrical-engineering-and-computer-science
/6-006-introduction-to-algorithms-spring-2008/
● http://www.geeksforgeeks.org/top-10-algorithms-in-interview-questions/
● http://bigocheatsheet.com/
DS & ALGO ASSESSMENT
DO
● You are expected to “Talk and Code”
● Spend time analyzing the problem first, and verbally share your thought process with
the interviewer, explaining your rationale and approach (how and why did you derive
a particular solution)
● Explain your code to the interviewer
DO NOT
● Do not keep silent when thinking to yourself. Interviewers find it hard to assess a
candidate when they do not know what the candidate is thinking about!
● Do not mumble in an interview
4. Attitude
● Ask 3-4 relevant clarifying questions at the start to reduce the scope of the
problem
● Do not jump in to solve the question before clarifying the requirements!
● Start your preparation with Steve Yegge’s Blog and go through our website for Interview
Preparation Tips
● These sites are also useful to help you prepare for the technical interviews:
○ Google’s Tech Dev Guide is frequently updated with new problems and resources for
your preparation. You can go straight to the Resource Library for Google Coding
Questions
○ Sites like Leetcode, GeeksforGeeks, Interviewbit, Topcoder, HackerRank,
interviewing.io, Kickstart, Project Euler, Kattis, ACM - ICPC offer coding practice
and problem solving.
■ Time yourself!
● This will help get you into the problem-solving mindset. Practice as much
as you can! - with problems from LeetCode and Geeksforgeeks. For
LeetCode, practice around 150 medium (20-25 mins) or hard (45 mins)
level problems under different categories.
G&L Round
Mock Interview
https://docs.google.com/document/d/11n15922m46evuVBTIdmXeP-0WBRqz1kI9
ofiJ_SL0cQ/edit
ALL THE BEST :)