Q1-> A large size array is given. All except one element are repeated even
no. of times and one element is repeated odd no. of times. Find that
element. Don't use X-OR

Ans -> Is there any efficient way of finding it without using sorting or
removing duplicates or using hash tables??



Q2-> Same qn is like all except one are repeated off no. of times and one
element repeated even no. of times. find that element. (no specification for
X-OR use given)

Ans-> Again, I tried it using hash table.


-- 
Abhishek Gupta
MCA
NIT Calicut
Kerela

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to