Skip to content
BP
Bablu Parihar
Solutions
Blog
Notes
Learning
Projects
About
Let's talk
All solutions
LeetCode #1254 · Oct 25, 2026
Medium
Number of Closed Islands
Array
Depth-First Search
Breadth-First Search
Union-Find
Matrix
Problem on LeetCode
Handwritten
Code
3 pages
Full screen
1254. Number of Closed Islands
3 pages
Previous day
2409. Count Days Spent Together