ZS Associates Interview Question

Unstructured case was about programming elevators in a tall building