So I have an array of integers, and I want to make sure no two numbers within the array are the same.
If they are the same, change one of them to something else and run the check for duplicates again (until there are no duplicate numbers).
Any ideas on how to implement that?
Thanks a ton! :-)