algorithm
datastructure
Compute LCM and GCD of given integer numbers
Created by Smart Mock Interview
Computer LCM and GCD of given integet numbers
Interview Questions
- Compute LCM and GCD of given integer numberscoding
Title:
LCM and GCD of given integer numbers
Example:
Input: a = 5 , b = 10 Output: [10, 5] Explanation: LCM of 5 and 10 is 10, while their GCD is 5.