New Grad Software Engineer Interview Questions

2,866 new grad software engineer interview questions shared by candidates

Given a 2D array, where there are 0s and 1s (1 representing island) count how many islands are there, for example, [[0,1,1], [1,0,0], [0,1,0]] there are 3 islands there (because in the first row 2 of 1s are connected so they created a bigger island.
avatar

Software Engineer (New Grad)

Interviewed at Yelp

3.2
Feb 21, 2017

Given a 2D array, where there are 0s and 1s (1 representing island) count how many islands are there, for example, [[0,1,1], [1,0,0], [0,1,0]] there are 3 islands there (because in the first row 2 of 1s are connected so they created a bigger island.

Viewing 71 - 80 interview questions

Glassdoor has 2,866 interview questions and reports from New grad software engineer interviews. Prepare for your interview. Get hired. Love your job.