Graduate Developer Interview Questions

5,185 graduate developer interview questions shared by candidates

The Lottery question - given a number N, write a class that allows a user to call getK and receive K different balls (with different numbers), chosen randomly from the relevant balls that are still in the system (not previously returned to customer). All numbers are unique, and should be from 1 to N.
avatar

Graduate Software Engineer

Interviewed at Amazon

3.5
Jul 4, 2022

The Lottery question - given a number N, write a class that allows a user to call getK and receive K different balls (with different numbers), chosen randomly from the relevant balls that are still in the system (not previously returned to customer). All numbers are unique, and should be from 1 to N.

The first question was: Given a file containing the description of seats on a plane, implement an algorithm that finds the cheapest N consecutive seats on the same row. The input file give the position of each seat, wether they are already taken and the price of the seat. Additionally, the value of N is provided.
avatar

Graduate Software Engineer

Interviewed at Skyscanner

4
Oct 12, 2016

The first question was: Given a file containing the description of seats on a plane, implement an algorithm that finds the cheapest N consecutive seats on the same row. The input file give the position of each seat, wether they are already taken and the price of the seat. Additionally, the value of N is provided.

Viewing 391 - 400 interview questions

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