Find All Duplicates in an Array

#442
Medium
Array & Hashing
O(n)
O(1)
Amazon
Google
View on LeetCode

Problem Description

Find all elements that appear twice in an array.