Posts Tagged ‘odd man out’

Odd Man Out – March 2010

April 25th, 2010

Google Code Jam – Odd Man Out

The problem:
This problem is pretty easy. Basically, we have N number of integers with one of them being unique. It’s easy enough to simply search through a list of the provided integers until you run across one that has only 1 match in the list – that’s your answer.

And yes, I know I can break the loop after I’ve found the lone integer – since this is so quick running and it’s nothing important, I didn’t bother going back to fix that.
» Read more: Odd Man Out – March 2010