Tuesday, April 12, 2011

Missing and Duplicated

I have a array which has numbers from 1 to n one number is missing and one number is duplicated. find those in O(n)

No comments: