โ† Sigmoid questions

Find number and sizes of plateaus in a matrix

Filed under Sigmoid

The question

Given a matrix representing land heights (with 0 as water), find the plateaus. A plateau is a connected component of land with the same height (height >= 1). Return the size of each plateau.

No write-up yet. Related questions below have one.

Related Sigmoid questions

Collected from public candidate posts and coding forums. Updated Nov 2026.