Pergunta de entrevista da empresa Watershed

Live coding exercise in language of your choice