Reputation: 119
Need a data Structure to store time based reservation on different resources. It should support below query:
Upvotes: 0
Views: 409
Reputation: 119
I am currently thinking of using List of reservation for each resource, and adding new reservation at the end of list.
Interested in improving the time complexity for 2nd operation
Upvotes: 0