LifeYield Interview Question

Find duplicate value in an array containing 1-100

Interview Answer

Anonymous

Mar 31, 2015

(sum of numbers in array) - n(n+1)/2 (n=100)