> @Nishant: >>> >>> 1 4 5 4 5 n=5 >>> >>> 1 2 3 4 5 >>> >>> after xor i.e. your x1 answer contains (2^3^4^5).The missing elements are >>> included in xor as well along with repeating elements. >>> >>> Hope now you got it. You are giving solution for a question which i have >>> defined in previous post. and your algo will fail when >>> the final xor has no set bit i.e. same number is being repeated twice. >>> >> >> > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. >
-- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
