Available question text
Given an m x n binary matrix containing disjoint, axis-aligned rectangular blocks of 1s, return for each block the coordinates [r1,c1,r2,c2] of its top-left and bottom-right corners. Rectangles are non-adjacent (no four-directional touching) and m,n ≤ 300.
Related questions
Continue with questions that share topics or the same question type.
- Find All Anagrams in a String
Coding · Hash Table · Sliding Window · String
- Find All Combinations of Bag Sizes That Sum to a Target Capacity
Coding
- Find All Duplicates in an Array
Coding
- Find All Good Indices
Coding
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 1992. Find All Groups of Farmland
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source