algorithms.tutorialhorizon.com
Find the two repeating elements in a given array | Algorithms
Given an array of n+2 elements. All elements of the array are in range 1 to n and all elements occur once except two numbers which occur twice. Write an algorithm to find the two repeating numbers.