PolicyBazaar interview question

One problem on implementing DS priority queues to describe how a elevator system works with two elevators.