Find Duplicate Elements In Array Using Pointer