C3 AI Interview Question

How would you design a system to control an elevator?