Pergunta de entrevista da empresa GlobalFoundries

First round was programming round