Problem

Return max - min.

Examples

  • scoreGap([40, 90]) -> 50
Compile and test (Ctrl+Enter)