Software Engineer Graduate Interview Questions

3,310 software engineer graduate interview questions shared by candidates

Imagine you have a 6x6 2D array filled with 1s and 0s. The 1s represent walls and the 0s represent empty space. (As if you are looking down at a board game). Step one: Make a method that takes an input of exactly one coordinate on the board. The method returns true if and only if there is a valid empty space for the player to move to from the input, assuming the player can only move up/down/left right and not diagonally Step two: Make another method that returns a boolean. The input should be a coordinate on the board, and the method should return true if from the starting coordinate (the input) the player can move to all available open spaces on the board.
avatar

Graduate Software Engineer

Interviewed at Palantir Technologies

3.7
Feb 9, 2021

Imagine you have a 6x6 2D array filled with 1s and 0s. The 1s represent walls and the 0s represent empty space. (As if you are looking down at a board game). Step one: Make a method that takes an input of exactly one coordinate on the board. The method returns true if and only if there is a valid empty space for the player to move to from the input, assuming the player can only move up/down/left right and not diagonally Step two: Make another method that returns a boolean. The input should be a coordinate on the board, and the method should return true if from the starting coordinate (the input) the player can move to all available open spaces on the board.

Viewing 401 - 410 interview questions

Glassdoor has 3,310 interview questions and reports from Software engineer graduate interviews. Prepare for your interview. Get hired. Love your job.