Count cavities in 2D matrix
Filed under OLA
The question
Identify cells in a matrix where the value is strictly less than all its surrounding neighbors.
No write-up yet. Related questions below have one.
Related OLA questions
Collected from public candidate posts and coding forums. Updated Nov 2026.