Smallest Common Multiple Leetcode Problem