Pergunta de entrevista da empresa NNG

A technical and math-esque problem was provided that had many opportunities to provide a better and better solution throughout many iterations. It was challenging but fun.