Bloomberg interview question

how will you code a program to manage the load balanced elevators