Pergunta de entrevista da empresa GitLab

I've been assigned a merge request which contained errors ands bugs. I was asked to do the code review and implement the changes.