Checkmarx Interview Question

How to build an elevator?