Minimum Difference between multiples of three integers
Given three integers X, Y, and Z. the task is to find the minimum distance between any two multiples of the given integers. Note: Common multiples are not considered. Examples: Input: X = 5, Y = 2, Z = 3Output: 1Explanation: The multiples if arranged in sorted order are 0, 2, 3, 4, 5, 6, 8. . . Out