lcm function

int lcm(
  1. int a,
  2. int b
)

Implementation

int lcm(int a, int b) => (a * b) ~/ gcd(a, b);