Hi folks,
I have around 3.5 years of experience. I gave my google interviews in March. This community helped me get an amazing job. So, I'm giving it back to you and sharing all the questions I was asked.
Round 1 - Screening - DP
There are N + 1 squares in a linear fashion labeled 0 to N. A player starts from square 0. He has 'm' coins. He tosses all of them before proceeding. If all are heads, he jumps 2 steps or else he jumps 1 step. Find the number of different scenarios where the player can reach the last square.
Round 2 - Sliding Window
There is necklace with 2xD diamonds and 2xR rubies. You need to cut the necklace 2 or fewer times to divide it among two people in such a way that both will have same number of diamonds and same number of rubies.
Round 3 - Linked List
Implement a secure singly linked list. Each node should have a hash value which is computed based on the current node's data and the next node's hash value. Implement prepend, insert at given index and validate functionalities. Also given an array, convert it to a secure linked list.
Round 4 - Googleyness
Describe a situation where your manager had unreasonable demands. How did the product release go through?
What were the learnings?
Describe a project where you had a lot of business impact?
(Note: There were many more. I don't remember them)
Round 5 - Graph BFS
Given a set of space stations, one can teleport from one space station to another instantaneously. There are some space station which are defective and you will get lost if you reach that station. Find the minimum number of teleportations required to move from one space station to another.
Verdict
I got negative feedback for Round 2 that I took hints. So, I was rejected.


