This question was asked by Tiktok
In a server cluster there are three different types of nodes, denoted by T1, T2, T3
Each node is unique. Each node is also limited to one fixed type
The minimum quantity of nodes that can exist in the cluster for each type T1, T2 and T3 is 0 (zero)
There is no upper limit on the number of nodes available in the server cluster for each type T1, T2 and T3
Implement a request_hardware function that does the following:
Implement a release_hardware function that does the following:
Ending question:
What is the time/space complexity of the data structure/algorithm?