Minimum Common Multiple Leetcode Javascript Solutions For Change