Google SDE-2 Interview Guide

These are coding problems that candidates have reported from Google interviews, ordered so you can start with the ones that come up most. Google tends to give a hard problem with follow-ups, so practise explaining your complexity and what you would change if the input were ten times larger.

Treat the list as practice for the patterns, not a script: interviewers change the numbers and the story, and they care more about how you reason out loud than about a memorised answer.

Coding problems

Related

Frequently asked questions

How many coding rounds does a Google SDE-2 interview have?

Usually two to four coding rounds, a system design round for experienced candidates, and a behavioral round. The exact loop varies by team and level.

Which topics come up most?

Arrays and strings, graphs and trees, dynamic programming, and a lot of problems that need a clever use of a hash map or two pointers.