https://leetcode.com/problems/sqrtx/description/