Print All Divisors Leetcode Problem