Challenge for Sets

Challenge

A duplicate is a number whose value appeared earlier in the list. Given a list of numbers, print all the duplicates in the order that they appear. (Duplicates that appear multiple times should be printed multiple times.)

Please sign in or sign up to submit answers.

Alternatively, you can try out Learneroo before signing up.

Contact Us
Sign in or email us at [email protected]