Duplicates
Collapse Content
Show Content
The streets in Zumbania are numbered in an interesting manner. The King assigns seemingly random numbers to each address in Zumbania. No street should contain duplicate numbers, but sometimes a number gets mixed in. Can you find the duplicate number?
You will be given a list of numbers. Print the number that appears more than once, or "none" if there are none. There won't be more than one repeated number.
Challenge
Print the duplicate number or "none" if there's none.
Please sign in or sign up to submit answers.
Alternatively, you can try out Learneroo before signing up.
Comments
Bolke
Jul 29, 5:36 PMHm! I'm pretty sure I've seen this problem in a book....the name "Zumbania" included. How now, brown cow?