Least Common Multiple Leetcode Problem 543