10 Google Interview Questions

No doubt, Google is the most innovative and best tech company on the planet. It is a dream for most of software developers to work for Google. But, cracking the Google’s interview is not an easy task.

Pierre Gauthier – a computer engineer who had started his own tech company 18 years ago, applied for a director of engineering role at the company. But he failed to satisfy to Google’s recruiter in a phone interview.


So, he decided to write a blog post on and shares the tricky questions, his answers, his views and the whole process.


However, Gauthier managed to answer the fourth questions correctly. But, the fifth question he answered was the first one he got wrong. Here is the whole conversation of the fifth question – what is a Linux inode?google interview

Gauthier soon found himself, he is arguing answer with recruiters. By the ninth questions, he frustratedly asked, “What is the point of this test?”

Well, here are 10 questions asked by the Google’s recruiter.

1. What is the opposite function of malloc() in C?

 2. What Unix function lets a socket receive connections?

3. How many bytes are necessary to store a MAC address?


4. Sort the time taken by: CPU register read, disk seek, context switch, system memory read.

5. What is a Linux inode?


6. What Linux function takes a path and returns an inode?

7. What is the name of the KILL signal?

8. Why Quicksort is the best sorting method?

9. There’s an array of 10,000 16-bit values, how do you count the bits most efficiently?

10. What is the type of the packets exchanged to establish a TCP connection?

After the end of post, he writes,”my score is four on ten, that’s better than my best Google pagerank** ever!”