Alone in Couple
In a party of N people, each person is denoted by an integer. Couples are represented by the same number. Find out the only single person at the party of couples. Examples: Input: N = 5, arr = {1, 2, 3, 2, 1}Output: 3Explanation: Only the number 3 is single. Input: N = 11, arr = {1, 2, 3, 5, 3, 2, 1