Fundamentals/When to Sort First
← PrevNext →
Given an array of numbers, return true if any element appears more than once. Solve by sorting first.