Find out duplicate number between 1 to N numbers.

526 views.

Description:
You have got a range of numbers between 1 to N, where one of the number is
repeated. You need to write a program to find out the duplicate number.

Output:
Duplicate Number: 22

You may also like...

Leave a Reply