Find Duplicate Element In Array Using Set