C programming resources:
GNU C Function and Macro Index -- glibc reference manual
The C Book -- nice online learner guide
Current ISO draft standard
CCAN -- new CPAN like open source library repository
3 (different) GNU debugger tutorials: #1 -- #2 -- #3
cpwiki -- our wiki on sourceforge
The question said : Constant Extra Space.
Did not say you must use O(n) space.
It did not say you cannot sort data.
Why not use non comparison based sorting techniques?
That would require a non-constant amount of extra space.Originally Posted by zalezog
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)