Software Engineer Front End Interview Questions

13,481 software engineer front end 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.

question like: ArrayList list = new ArrayList(); for (i =0; i < 10000;i++) { list.add(i); } do you see a problem here ? you add to answer that this list is slower than the new List object and there is a danger of mixing different object type in the same list. I didn't event think of that because you are looking for the catch. and it goes on like this the hole interview.
avatar

.NET Back End Programmer

Interviewed at BDC

3.9
Oct 25, 2019

question like: ArrayList list = new ArrayList(); for (i =0; i < 10000;i++) { list.add(i); } do you see a problem here ? you add to answer that this list is slower than the new List object and there is a danger of mixing different object type in the same list. I didn't event think of that because you are looking for the catch. and it goes on like this the hole interview.

Viewing 981 - 990 interview questions

Glassdoor has 13,481 interview questions and reports from Software engineer front end interviews. Prepare for your interview. Get hired. Love your job.