algorithms_and_data_structures
algorithms_and_data_structures copied to clipboard
Create Find Duplicate
In this we have to return the duplicate number in the array. Array list contains numbers from 0 to N-2 where N is size of array. So we have done the sum of natural numbers and subtract it from sum of array elements.
您好,我已受到您发的邮件!如有必要,我会尽快回复!
@mandliya sir/mam please have a look:)
@kelin448111043 sir/mam please have a look :)