Pergunta de entrevista da empresa Synopsys

Coding question with test cases, documentation, etc.