Rolta Interview Question

Design an automated lift system algorithm