Nielsen interview question

DSA + LLD on elevator system