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.

An array of number is given: [1, 2, 3] Find all the possible permutations formed from these numbers and print out the maximum number. For example: 123, 321, 231... are possible permutations and max number formed is 321.
avatar

Graduate Software Engineer

Interviewed at Shopee

3.7
Nov 3, 2019

An array of number is given: [1, 2, 3] Find all the possible permutations formed from these numbers and print out the maximum number. For example: 123, 321, 231... are possible permutations and max number formed is 321.

Viewing 531 - 540 interview questions

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