Graduate Developer Interview Questions

5,185 graduate developer interview questions shared by candidates

The Islands question (which was called the Submarine question) - you get a matrix of size m x n, with either 0 or x in it. A submarine is a place where one x or more form a shape of a sqaure or a rectangle. For example, these all include only one submarine: 0 x x 0 0 0 0 0 x 0 0 0 0 0 0 x x x x 0 0 x 0 0 x Return the number of submarines in the matrix.
avatar

Graduate Software Engineer

Interviewed at Amazon

3.5
Jul 4, 2022

The Islands question (which was called the Submarine question) - you get a matrix of size m x n, with either 0 or x in it. A submarine is a place where one x or more form a shape of a sqaure or a rectangle. For example, these all include only one submarine: 0 x x 0 0 0 0 0 x 0 0 0 0 0 0 x x x x 0 0 x 0 0 x Return the number of submarines in the matrix.

Viewing 541 - 550 interview questions

Glassdoor has 5,185 interview questions and reports from Graduate developer interviews. Prepare for your interview. Get hired. Love your job.