2013-6: Home On The Range

Write code which returns the magnitude of the range (i.e. the difference between the lowest and highest values) of a numeric array.

Examples

Implementation

You can also run the tests via ⌘/shift + enter