Goldman Sachs Interview Question

k-diff pairs in an array