Pergunta de entrevista da empresa Oregon State University

Given this technical problem, how would you solve it.