Collectiva Contest Programs & Solutions

Find Duplicate
In the given array of size arraylen, exactly one number is duplicate. Write a function to return the duplicate number. For example: if the input array contains {1, 2, 3, 4, 5, 6, 7, 8, 5}, then the result should be 5.

No Comments..!