Array comparison

A slight variation on the above method but it makes no assumptions about the values in the array and performs one less comparison.

1 Like