Pergunta de entrevista da empresa SAS

questions were not that hard