COUNT SUB ISLANDS | LEETCODE 1905 | PYTHON BFS SOLUTION

Опубликовано: 07 Июнь 2026
на канале: Cracking FAANG
560
17

LINK: https://leetcode.com/problems/minimum...

Daily question revolving around 2D grid traversal. Quite similar to existing problems we've seen before and we'll apply a lot of the previously seen concepts to solve this one.

00:00 Intro
00:05 Question Prompt
00:35 Basic Example
02:18 Solution Intuition
05:02 Coding
16:20 Time/Space Complexity