Front End Developer Interview Questions

12,592 front end developer interview questions shared by candidates

Minesweeper problem. Write a function reveal() that outputs the number of tiles shown when a user clicks on a tile. Each tile shows the number of bombs as its neighbor. If the user click on a tile that is a bomb, the game is over. If that tile is 0, reveal all its neighbors.
avatar

Front End Software Engineer

Interviewed at Google

4.4
Jul 18, 2016

Minesweeper problem. Write a function reveal() that outputs the number of tiles shown when a user clicks on a tile. Each tile shows the number of bombs as its neighbor. If the user click on a tile that is a bomb, the game is over. If that tile is 0, reveal all its neighbors.

Viewing 921 - 930 interview questions

Glassdoor has 12,592 interview questions and reports from Front end developer interviews. Prepare for your interview. Get hired. Love your job.