The above algorithm should be one of the best:
O(n) time + O(1) space.
O(n) time + O(1) space.

I am working on a system which has no Chinese input. Please don\'t blame me for typing English.

2007-09-16 20:47
Where are you come from?

2007-09-16 23:37
2007-09-17 08:12