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