I was asked this in recent amazon onsite interview and asked o write code

Given an Array of integers . N elements occur k times and one element
occurs b times, in other words there are n+1 distinct Elements. Given that 0
< b < k find the element occurring b times.

We know k is NOT even .


thanks
--mac

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to algogeeks+unsubscr...@googlegroups.com.


Reply via email to