Find the one outlier in an array where all numbers are even or all are odd except one. Return the outlier. The array may contain negative numbers.
Click Run to test your code