Find the HCF (Highest Common Factor) of two numbers.
MediumProblem Statement
Find the HCF (Highest Common Factor) of two numbers.
Sample Input
8, 12
Sample Output
4
Limits
Time: 2s · Memory: 256 MB
Find the HCF (Highest Common Factor) of two numbers.
8, 12
4
Time: 2s · Memory: 256 MB