Graduate Software Developer Interview Questions

7,754 graduate software 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 741 - 750 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 7,754 interview questions and reports from Graduate software developer interviews. Prepare for your interview. Get hired. Love your job.