Quick Overview

Implement a Minesweeper reveal operation that counts all eight neighboring cells, opens connected zero-mine regions, and stops expansion at numbered boundaries. Handle the board's exact mine, hidden, revealed-empty, and numbered states efficiently for up to 100,000 cells.

Reveal a Minesweeper Region with Adjacent-Mine Counts

Company: Nuro

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: hard

Interview Round: Technical Screen

Overview: Implement a Minesweeper reveal operation that counts all eight neighboring cells, opens connected zero-mine regions, and stops expansion at numbered boundaries. Handle the board's exact mine, hidden, revealed-empty, and numbered states efficiently for up to 100,000 cells.

Read the full Nuro Software Engineer interview experience this question came from

Loading…