Find Duplicate Elements in an Array Using Hash Map

Given an array of integers, return all elements that appear more than once.

Difficulty:

Console