Quote:
Which data structure is suitable for elevator system?
There is no magic "standard data structure" that will automatically fit your lift system.
The trick is that just like with the vast majority of problems, you have to create/craft your own solution.
Remember that a data structure is never a solution to a problem, it is the combination of data structure and associated code/program that is a solution to the problem.
The general approach is to list all requirements in order of decreasing importance.
then create a data structure that fit the first requirement, and refine the data structure as you include other requirements.
You will see that as you define the data structure, you also plan how you will use it.