結果 : find duplicates in array java without using collections