Skip to content
Related Articles

Related Articles

Google Interview Experience for SDE
  • Last Updated : 31 Dec, 2020

During Covid-19 lockdown, I was contacted by a recruiter from Google for a Software Engineer role based in India. I was given tons of resources by the recruiter to prepare for the interviews. I will try to share all possible resources, questions (hint), most important topics to study, platforms for practicing (daily questions and mock interviews), some tips, good blogs, and of course the mistakes that you should never make while preparing for big techs. Undoubtedly the technical interviews at Google are heavily based on DSA and it has got its own level of difficulty but I gave my best and went up to 3rd round after the written coding round. This drive and experience are really full of learning. 

Let’s start the preparation

Step 1: Bookmark the GFG Google Archives. It helped me a lot during my preparations. Reading other’s interview experiences is one of the best ways to get yourselves ready for the next job interview. 
 

Step 2(Data structures): Most important data structures which you don’t want to miss are: Lists, Maps, Stacks, Priority Queues, Binary Trees, Graphs, Bags, Sets 
 



Step 3(Important topics): Most commonly asked topics in Google Interviews ( as per the mail I received from my recruiter ) :  

  • BFS/DFS/Flood fill
  • Binary Search
  • Tree traversals
  • Hash tables
  • Linked list, stacks, queues, two pointers/sliding window
  • Binary heaps
  • Dynamic programming
  • Union find
  • Ad hoc/string manipulations

Other topics which you should know: Trie, segment trees/Fenwick trees, bitmasks.
 

Step 4(Sites to practice): Highly recommended sites for practicing questions ( usually practice medium and hard level questions) :  

  1. Leetcode (highly encouraged)
  2. Geeksforgeeks (highly encouraged)
  3. Topcoder
  4. Codeforces

Step 5(Coding Book): It’s really great if you take out some time to practice problems from the famous Book, https://books.google.co.uk/books/about/Cracking_the_Coding_Interview.html?id=anhAXwAACAAJ&hl=en

Step 6(Mock Interviews): Highly recommended is preamp (https://www.pramp.com/#/).  
 

Step 7(BigOCheetsheet) This is a great bigocheatsheet that could be of great help https://www.bigocheatsheet.com/ 
 

Step 8: Resource by Google’s Recruiter-> How to best prepare for a technical interview: 



Step 9(Don’t forget!): Some tips for practicing coding on Google docs 

https://www.quora.com/What-are-some-tips-for-practicing-coding-on-Google-docs-for-a-phone-screen

Step 10(Google Coding Questions): Important list of Google Coding questions.

https://techdevguide.withgoogle.com/resources/?types=coding-interview-question#!

Sharing my interview details (question patterns and difficulty)

Round 1(Coding): This round had 2 questions of easy/medium difficulty. Both were based on concepts of DP. The first question was quite similar to the classical DP question (minimum steps to reach 1) https://www.spoj.com/problems/MST1/. The second question was quite the same as https://leetcode.com/problems/longest-palindromic-substring/. In this, we are supposed to find the longest palindromic substring in a given string. The first question was fully solved and the second one was partially accepted since I used the brute force approach. 
 

Round 2(Telephonic Interview): This round went quite well. In this, I was asked 2 questions. The first one was a medium level pattern searching question (strings). GFG link for further details. The second question was based on heaps (priority queues),  GFG link

Round 3: This round was also virtual. It has some difficult questions when compared to the previous rounds. The first question was similar to https://leetcode.com/problems/text-justification/, the other question was based on a similar concept like https://leetcode.com/problems/the-skyline-problem/, another one was https://leetcode.com/problems/angle-between-hands-of-a-clock/. This round went okayish and I was called for the next round.  
 

Round 4: This round was tougher than all previous rounds, 1 DP medium and 1 Graph Hard question was asked. I was able to solve the first one but got stuck in Graphs :(. Graph question was similar to https://leetcode.com/problems/shortest-path-with-alternating-colors/ ( little more tricky) and the DP question was also from leetcode medium. This round did not go too well for me.  
 

Tips:

  1. Prepare a good resume (clean, clear, and precise). Don’t put any unnecessary information.

  2. Just before your next Online Interview:

    • Keep a pen and paper ready, you never know when to write
    • Keep a water bottle with you
    • Put your phone on silent
    • Login 5 minutes before (it’s important)
    • Speak up loud and clear
  3. Make most of the “Tell me about yourself” question

  4. Don’t give up! Even if you’ve had a bad interview for a job that you truly think would be a great fit for you, don’t give up! 
     


Write your Interview Experience or mail it to contribute@geeksforgeeks.org

My Personal Notes arrow_drop_up
Recommended Articles
Page :