Autodesk Interview Question

In an array of elements occurring twice consecutively, find element occurring only once. For e.g in an array 4,4,2,2,3,5,5 output must be 3

Interview Answers

Anonymous

Feb 26, 2019

Use divide and conquer

7

Anonymous

Jul 27, 2023

Use XOD property