Pregunta de entrevista de Distributed (UK)

I was asked to solve Algorithm Question