I asked a similar question in an interview.

来源: 2009-05-18 10:01:54 [博客] [旧帖] [给我悄悄话] 本文已被阅读:

I guess you want to relax the condition that every number appears at least once to avoid Haha's hack. :-) And the question is to find one repeated number.