Weekend Interview Question

Build a simple elevator system (using array).