Find the unique number in an array where all the elements are repeated twice. All the numbers are positive. Answer : Let array be Arr = [1,2,3,4,2,1,3]; Here the number 4 is unique and all other numbers are being repeaated twice. So, we will traverse...

Markdown supported · ⌘↵ to post
No responses yet.