Find the common divisors of two numbers.
MediumProblem Statement
Find the common divisors of two numbers.
Sample Input
12, 18
Sample Output
[1, 2, 3, 6]
Limits
Time: 2s · Memory: 256 MB
Find the common divisors of two numbers.
12, 18
[1, 2, 3, 6]
Time: 2s · Memory: 256 MB