Video Coding Tutorial: How to find the number of islands in a matrix

Zhia Chong
1 min readAug 21, 2019

When I graduated from college, I interviewed at Google. And failed horribly 😔

I recall one of the interview questions was: Given an NxM matrix, how would you find the number of islands in there?

I’m like… Wut? 😑

BUT… fast-forward a few years later, I’m now a professional software engineer and…

--

--

Zhia Chong

Software Engineer @Twitter, retired tennis player@🇲🇾 my website @zhiachong.com