Fast Enterprises Interview Question

A function that returns the root of a number.