Interview Question

Interview Seattle, WA

Normalization questions coding question: Program to find

  the element occurring odd number of times in an array Complexity
Answer

Interview Answer

2 Answers

0

ended the interview 15 min earlier and asked me to mail the solution.

Interview Candidate on May 9, 2012
0

Just scan the array and XOR(^) the elements.. the result is the element which occurs odd number of times

Spandan pathak on Jul 25, 2012

Add Answers or Comments

To comment on this, Sign In or Sign Up.