Senior Backend Developer Interview Questions

1,024 senior backend developer interview questions shared by candidates

Design a city bike sharing system. Write a Bike class with methods to checkout and return a bike. Write a BikeStation class initialized with a settable max capacity, and with methods to add a bike and add a sponsor. Write a BikeShare class with methods to add a bike, to assign a bike to an available station, to list all bikes, and to list checked out bikes. As a bonus, allow new bikes to be randomly assigned to a home station with probabilities 50% for station 1, 20% for station 2, 20% for station 3, and 10% for station 4.
avatar

Senior Backend Software Engineer

Interviewed at Curative, Inc.

2.5
Aug 29, 2021

Design a city bike sharing system. Write a Bike class with methods to checkout and return a bike. Write a BikeStation class initialized with a settable max capacity, and with methods to add a bike and add a sponsor. Write a BikeShare class with methods to add a bike, to assign a bike to an available station, to list all bikes, and to list checked out bikes. As a bonus, allow new bikes to be randomly assigned to a home station with probabilities 50% for station 1, 20% for station 2, 20% for station 3, and 10% for station 4.

Viewing 241 - 250 interview questions

Glassdoor has 1,024 interview questions and reports from Senior backend developer interviews. Prepare for your interview. Get hired. Love your job.