Loading...
For each class, define the attributes (data) it will hold and the methods (functions) that operate on the attributes. Ensure they align with the object's responsibilities and adhere to the principle of encapsulation. Write your code in the code editor below.
To have an efficient elevator system, what i'm thinking right now is that elevators will sweep one direction to clear out its internal requests and once cleared, itll pick up new call requests