C
Cholo Lennon
You probably use them all the time, even without realizing. (Quicksort
is a recursive algorithm, and std::sort() usually uses introspective sort,
which uses quicksort as one of its steps.)
I use them from time to time when I need to implement algorithms which
are very recursive in nature. Often implementing them non-recursively
makes the implementation significantly more complicated (and usually
longer) than the recursive version.
Just a comment: Al least in VC++, qsort is implemented for performance
reasons without recursion (well, it use recursion, but using goto and
some stack manipulation)
Regards