Samsung Electronics interview question

Program to find the non repetiting number in an array