Pergunta de entrevista da empresa Next Insurance

Write a function that finds the root of a number