Leetcode Number Theory Problems