Re: puzzle
- From: Thad Smith <ThadSmith@xxxxxxx>
- Date: Sat, 11 Jun 2005 21:00:10 -0600
Emlyn Corrin wrote:
Darius wrote:
ok here is a puzzle. there is an integer array whose length is odd, and all the numbers in the array appear exactly two times except one. Find the number in O(n) time. Try to do it without using any other data structure.
hint: xor
Clever!
Thad
.
- References:
- puzzle
- From: Darius
- Re: puzzle
- From: Emlyn Corrin
- puzzle
- Prev by Date: Re: puzzle
- Next by Date: Re: puzzle
- Previous by thread: Re: puzzle
- Next by thread: Re: puzzle
- Index(es):