Pergunta de entrevista da empresa The Shipyard

How do you deal with redundancy in code.