Lowest Common Multiple Leetcode Problem