mediumJS ES5#114

Encontrar al aislado (find outlier)

Prompt

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.

Hints

Solution

Your Code

5 min

Tests

Click Run to test your code