Pergunta de entrevista da empresa Skyworks Solutions

A somewhat simple coding question