Create an empty hash set.
For each element in the array:
If the element is already in the set, return .
Otherwise, add it to the set.
If the loop completes, return .
##### ###### ##### ### # # ### # # ###### ## ## ## ## ## ## ## # # # # # ## ##### #### ##### # # # # # # # #### ## # ## ## ## ## # # # # # ## ## # ###### ## ### # ### # ######
##### ###### ##### ### # # ### # # ###### ## ## ## ## ## ## ## # # # # # ## ##### #### ##### # # # # # # # #### ## # ## ## ## ## # # # # # ## ## # ###### ## ### # ### # ######
Hash set approach
Create an empty hash set.
For each element in the array:
If the element is already in the set, return .
Otherwise, add it to the set.
If the loop completes, return .