Leetcode Square Root Problems