https://videosashka.com/watch/13t-Zu1q2lk/find-duplicate-elements-in-java-array