Morgan Stanley Interview Question

design an elevator