Skip to main content
1 of 2
Magic Octopus Urn
  • 20.8k
  • 5
  • 62
  • 136

05AB1E, 3 bytes

{¥P

Try it online!


{   # Sort.
 ¥  # Consecutive differences.
  P # Product.

Works on negatives, though OP never specified...

Magic Octopus Urn
  • 20.8k
  • 5
  • 62
  • 136