Methods: (1) HashSet - O(n) time, O(n) space, add elements and check existence, (2) Sort first - O(n log n) time, O(1) space, compare adjacent, (3) Floyd's cycle detection for specific cases, (4) XOR for finding single duplicate in 1-n range. Choose based on constraints: space-limited use sorting, time-critical use HashSet.