There are a number of servers running our application.
Given N servers, in 5 minutes interval, every minute, the load is checked and if load is
less than 50%, the servers are either reduced to N/2 else they are increased to
2N + 1
Input : No. of servers (N), server load every minute
Output : The number of servers running at the end of 5 minutes
Answers
Answered by
0
Answer:
khdfhzlfhpgdifhoghoondhgosndpv0ihpiiyyktyjjg
Similar questions