Pergunta de entrevista da empresa TTM Technologies

Solve this computer programming question