Sponsored
Sponsored
Use these hints if you're stuck. Try solving on your own first.
What method can you use to find the shortest time taken for a message from a data server to reach the master server? How can you use this value and the server's patience value to determine the time at which the server sends its last message?
What is the time when the last message sent from a server gets back to the server?
For each data server, by the time the server receives the first returned messages, how many messages has the server sent?