Frontend Engineer Interview Questions

13,302 frontend engineer interview questions shared by candidates

Provided string input of numbers in a grid (separated by spaces and newlines) that represents a map of land where each number represents elevation, and a value of '0' means water, count the number of bodies of water in the grid. A body of water is formed by one or more '0' value connected vertically, horizontally, or diagonally. Return the sizes of the bodies of water, in order from largest to smallest.
avatar

Senior Frontend Engineer

Interviewed at Instructure

3.3
Jun 26, 2019

Provided string input of numbers in a grid (separated by spaces and newlines) that represents a map of land where each number represents elevation, and a value of '0' means water, count the number of bodies of water in the grid. A body of water is formed by one or more '0' value connected vertically, horizontally, or diagonally. Return the sizes of the bodies of water, in order from largest to smallest.

Viewing 2511 - 2520 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 13,302 interview questions and reports from Frontend engineer interviews. Prepare for your interview. Get hired. Love your job.