Available question text
For each k×k sliding submatrix of an m×n integer grid, compute the smallest absolute difference between any two distinct values; the core challenge is efficiently maintaining the multiset/sorted order (or frequency buckets) of values as the window moves in 2D so you can quickly find the minimal adjacent gap.
Related questions
Continue with questions that share topics or the same question type.
- Minimum Absolute Difference
Coding · Array · Sorting
- Minimum Absolute Difference Between Elements With Constraint
Coding
- Minimum Absolute Difference in BST
Coding
- Minimum Absolute Difference Queries
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 3567. Minimum Absolute Difference in Sliding Submatrix
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source