Find Duplicate Elements In Array Using Pointers