Pergunta de entrevista da empresa Smarter Grid Solutions

There was a coding exercise.