Given an array or list of integers, write a program to print all the elements that appear only once in the array.
1) First i have taken the number of input array elements.
2) Then array elements then sorting the array elements.
3) Interviewer asked me to explain the logic.
4) Then interviewer said understood.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is recursion?