FindOddNumber.rb
def findOdd(array)
  array.uniq.each do |e| 
    return e if (array.count(e).odd?)
  end
end
# find the number that appears an odd number of times
find the number that appears an odd number of times
find the number that appears an odd number of times
def findOdd(array)
  array.uniq.each do |e| 
    return e if (array.count(e).odd?)
  end
end
def findOdd ( array ) array . uniq . each do | e | return e if ( array . count ( e ) . odd? ) end end
find the number that appears an odd number of times
find the number that appears an odd number of times
array