Amazon Interview Question: Normalization questions codin... | Glassdoor

Interview Question

Software Development Engineer Intern Interview Seattle, WA

Normalization questions coding question: Program to find

  the element occurring odd number of times in an array Complexity

Interview Answer

2 Answers


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

Interview Candidate on May 9, 2012

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.