Pergunta de entrevista da empresa RTX

A few programming code to debug.