Pergunta de entrevista da empresa Thoughtworks

Round 1: Discussion on the solution submitted. Extension of the problem and solution for that.