Number of Islands II
A satellite monitoring company is deploying sensor nodes across an `m x n` terrain grid. Initially all grid cells are water (inactive). Each position in the deployment list `positions` represents a coordinate `[row, col]` where a sensor node comes online, converting that cell from water to land (active).