Google Foobar is a secretive, invite-only coding challenge used by Google to identify talented developers. It often appears as a mysterious pop-up when users search for technical topics on Google.
The author received the invitation while researching the Observer design pattern. A pop-up appeared saying, “Your coding journey begins now,” leading to the Foobar portal.
The challenge has five levels with a total of nine problems:
Level 1: 1 problem
Level 2: 2 problems
Level 3: 3 problems
Level 4: 2 problems
Level 5: 1 final problem
Most problems are rooted in competitive programming (CP), with a strong emphasis on dynamic programming and algorithmic thinking.
Entirely Linux-based (Ubuntu)
Unlimited test runs, but only one final submission per problem
Each problem has a 7-day timer that starts only when you click “Start”
Level 1: Find the extra element between two lists
Level 2: Determine parent nodes in a post-order labeled binary tree
Level 3: Locate a contiguous sublist that sums to a target value
Take breaks and think creatively
Learn necessary theory before diving in
Use online resources (but don’t share problems publicly)
Completing all five levels may lead to a recruiter reaching out from Google, though it’s not guaranteed. The experience itself is highly rewarding and a great learning opportunity.
Stay active in coding communities
Search technical topics regularly
Get referred by someone who has cleared at least two levels
1
7
2