Pergunta de entrevista da empresa Client Server

About complexity of my solution