Graduate Software Developer Interview Questions

4,487 graduate software 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.

Viewing 331 - 340 interview questions

See Interview Questions for Similar Jobs

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