Google Coding Question - Making a Large Island (Hard)
Here is a step by step explanation of a Google coding question involving DFS/BFS rated as hard! Check out my interview prep platform for learning the patterns! 📢 Interview Prep Platform: https://algoswithmichael.com ►Number of Islands Explanation Video:    • Technical Interview Question: Number of Is...  ` 🎧 Join the community Discord:   / discord  💰 Support me on Patreon:   / michaelmuinos  🔗Follow me on LinkedIn:   / michael-muinos  📂Follow me on Github: https://github.com/MichaelMuinos This is another video explanation going over the infamous "island" problems called "Making a Large Island". This problem is asked at Google and involves the use of a Breadth-First Search OR Depth-First Search. This problem is rated as "hard". To solve this problem, we must first loop over our initial 2D matrix filled with 0's (water) and 1's (land). We keep track of the groupings of islands using an 'islandId' in order to label the appropriate sizes of the islands. We then save these island id's inside of map and tie the island size to it. Once we are finished tallying up all of the sizes of the islands inside of the map, we can now iterate over our 2D matrix again, but this time checking all neighbors around only 0's to determine if changing it to a 1 will allow for a larger island size. The time and space complexity for our solution is O(N^2) where N is the number of elements we have in our 2D matrix.

Text Justification Algorithm (LeetCode)

Google Coding Interview Question - Number of Closed Islands (LeetCode)

Bucket Sort Interview Question - Min Time Difference (Amazon)

Making A Large Island - Leetcode 827 - Python

How to solve a Google coding interview question

One Formula That Demystifies 3D Graphics

G-52. Making a Large Island - DSU

Longest Increasing Path in a Matrix (DFS + Memoization)

It finally happened

Conan O’Brien Delivers the Commencement Address | Harvard Commencement 2026

Decode String | FAANG Coding Question | Stack

Hardest Coding Problem Explained (LeetCode)

Google Coding Interview Question - Path With Maximum Gold (LeetCode)

Math News: The Sum-Product conjecture was disproven!!

Interviewing at Google

Amazon Coding Interview Question - Clone Graph (LeetCode)

Roasted! | The Big Bang Theory

A Jane Street Software Engineering Mock Interview with Grace and Nolen

The Strange Math That Predicts (Almost) Anything

