fix of the problem

来源: 2009-05-18 10:51:26 [旧帖] [给我悄悄话] 本文已被阅读:

1. the array is read-only
2. not every number in 1...n need to appear
3. we are interested in finding just one duplicated number
4. constant memory