See all challenges
500p
Max points
Tech
5d 21h
Time remaining
powered by
ING Tech
DESCRIPTION

Are you ready to solve the challenge and get closer to your new job at ING Tech?! We are looking for #remote experienced Java Development Engineer based in Cluj to develop our banking technologies and this is the fastest way to show us your skills. 

 

You have an array of integers whose elements have both a negative and positive value. Write a function oddOneOut for that situation in which you have one integer that is either only negative or only positive. 

 

Example:

[3, 7, -3, -9, 9] -> 7

 

(the only-positive or only-negative integer may appear more than one)

 

Write the code in https://repl.it/languages/java10; when you’re done click Save, then paste the URL in the answer section from below.

Close
Login
Close
Login as a company
New company? Register here Did you forget the password?
Close
Register as a candidate
Already have an account? .

Alternately you can

or
Close
Register as a company
Already have an account? .
Close
Retrieve password