Java exercise

Find the first duplicate

Sign in to hand in your solution and get feedback.