Skip to main content

Google Prep Material


Prep Material:
  1. Step by Step Study Guide written by a new Googler who just went through the same interview process
  2. Attached PDF - a few links, a video, and a few practice problems to cover technical phone screen basics
  3. Refresher on your CS fundamentals:
    1. Algorithms - with particular attention given to the "Searching and Sorting" section
    2. Big O Notation - for a recap on BigO of these DS/Algo's
  4. Strategies to answer interview questions - with particular attention to the sections 'Algorithm Design' and 'Systems Design'
  5. Make sure and try some practice questions on sites like HackerRank, TopCoder, CodeChef, CareerCup.com, or projecteuler.net - handwrite your solutions!

Practice Tip! - Many candidates have found it helpful to practice writing code in a google doc. Then run test cases on your code and optimize it. Practice with the idea that the engineer who is interviewing you should be able to compile and run your code when you are finished.


Key topics to review: 

There is a lot of useful information in the document attached but you should make sure that you are prepared with complexity of algorithms and that you can implement a range of data structures using an array (especially hash maps and hash tables)


Algorithms: BFS and DFS, and know the difference between inorder, postorder and preorder. http://www.geeksforgeeks.org/fundamentals-of-algorithms/ for more

Sorting: Know how to sort. Don't do bubble-sort. You should know the details of at least one n*log(n) sorting algorithm, preferably two (say, quick sort and merge sort). Merge sort can be highly useful in situations where quick sort is impractical, so take a look at it. See geeksforgeeks link above for sorting algorithms reference.

Big-O notation: also known as "the run time characteristic of an algorithm". You may want to refresh hash tables, heaps, binary trees, linked lists, depth-first search, recursion. http://bigocheatsheet.com/

——


Hashtables: Arguably the single most important data structure known to mankind. You absolutely should know how they work. Be able to implement one using only arrays in your favorite language, in about the space of one interview. 

Trees: Know about trees; basic tree construction, traversal and manipulation algorithms. Familiarize yourself with binary trees, n-ary trees, and trie-trees. Be familiar with at least one type of balanced binary tree, whether it's a red/black tree, a splay tree or an AVL tree, and know how it's implemented. Understand tree traversal 

Graphs: Graphs are really important at Google. There are 3 basic ways to represent a graph in memory (objects and pointers, matrix, and adjacency list); familiarize yourself with each representation and its pros & cons. You should know the basic graph traversal algorithms: breadth-first search and depth-first search. Know their computational complexity, their tradeoffs, and how to implement them in real code.


Additional reading if you're interested:

Comments

Post a Comment

https://gengwg.blogspot.com/

Popular posts from this blog

CKA Simulator Kubernetes 1.22

  https://killer.sh Pre Setup Once you've gained access to your terminal it might be wise to spend ~1 minute to setup your environment. You could set these: alias k = kubectl                         # will already be pre-configured export do = "--dry-run=client -o yaml"     # k get pod x $do export now = "--force --grace-period 0"   # k delete pod x $now Vim To make vim use 2 spaces for a tab edit ~/.vimrc to contain: set tabstop=2 set expandtab set shiftwidth=2 More setup suggestions are in the tips section .     Question 1 | Contexts Task weight: 1%   You have access to multiple clusters from your main terminal through kubectl contexts. Write all those context names into /opt/course/1/contexts . Next write a command to display the current context into /opt/course/1/context_default_kubectl.sh , the command should use kubectl . Finally write a second command doing the same thing into ...

OWASP Top 10 Threats and Mitigations Exam - Single Select

Last updated 4 Aug 11 Course Title: OWASP Top 10 Threats and Mitigation Exam Questions - Single Select 1) Which of the following consequences is most likely to occur due to an injection attack? Spoofing Cross-site request forgery Denial of service   Correct Insecure direct object references 2) Your application is created using a language that does not support a clear distinction between code and data. Which vulnerability is most likely to occur in your application? Injection   Correct Insecure direct object references Failure to restrict URL access Insufficient transport layer protection 3) Which of the following scenarios is most likely to cause an injection attack? Unvalidated input is embedded in an instruction stream.   Correct Unvalidated input can be distinguished from valid instructions. A Web application does not validate a client’s access to a resource. A Web action performs an operation on behalf of the user without checkin...