Google Interview Warmup

Practice essential coding patterns with 5 carefully selected easy problems covering graphs, dynamic programming, stacks, and binary search. Perfect for warming up before your Google interview or daily coding practice.

Your Progress0 / 5 completed
Easy
Question 1 of 5
10-15 min

Number of Islands

Given an m x n 2D binary grid which represents a map of '1's (land) and '0's (water), return the number of islands. An island is surrounded by water and is formed by connecting adjacent lands horizontally or vertically.

All Warmup Questions

Click on any question to jump to it

Feeling Warmed Up?

Ready to take on a full mock interview with AI feedback? Practice real Google interview questions with instant scoring and personalized coaching.

Focus Areas

  • • Dynamic Programming (DP)
  • • Graph algorithms (DFS/BFS)
  • • Binary Search
  • • Stack operations
  • • Hash maps & arrays
  • • Two pointers technique

Time Management

  • • Start with brute force
  • • Optimize incrementally
  • • Aim for 5-10 min per easy problem
  • • Practice explaining as you code

Best Practices

  • • Think out loud
  • • Test with edge cases
  • • Analyze time & space complexity
  • • Ask clarifying questions