how come its so obvious to choose the max out all the no.of rounds
Doubt on the algorithm
Hey @sauravzt7
one round completes when we cannot transfer any more load between neighbors, also one processor can transfer only one process. What happens in internal transfer is that one processor transfer process to its neighbor and the others process simply are not holding the job to themself and transfer it to their neighbour, and according to rule they can do it only once.
Eg
we 1 2 4 5
5 will transfer to 4,
now 4 will transfer to 2, internal transfer
2 will transfer to 1
final state
2 2 4 4
As you can see each neighbor transfer only 1 process.(and receives 1)
If this resolves your doubt mark it resolved.