Google interview questions

Posted
6 Jun 2025
339 reads

Summary

I recently had an onsite coding round at Google where I was presented with a matrix-based problem to count enclosed 'lakes' formed by zeros within land areas (ones). My verdict was 'No Hire' (NH), as I noted forgetting to handle edge cases in my solution.

How it went

I recently came across a Google coding round onsite. My verdict was : NH

Questions asked (1)

  1. 01

    Count Enclosed Lakes in Binary Matrix

    Data Structures & Algorithms

    Find number of lakes in atlantic pacific ocean Given row,col find the number of lakes for given row,col. Matrix is reprenated by 1' and 0's. => 1 being land 0 being water. for land 1's find the number of 0's covered by 1's.

Know someone preparing? Send it to them:WhatsAppLinkedInX

Interviewed at Google recently?

Write up your rounds while you still remember the questions. It helps the next person more than you would think.

Share your experience
Discussion 0

Questions for the author, or how your own interview compared.

Join the discussion

Sign in with Google to comment or ask the author a question.

No comments yet

Be the first to share your thoughts and start the discussion!