For those of you who have been working for some time I'd like to find out what practical uses you have seen for recursion. I'm not talking about college courses or what you see in tutorials, but what programmers use it for in real-world programs such as system, applications, etc.
There are only three reasons that I have ever used it in my c or c++ programs
- To navigate through disk directory trees
- Parse binary trees
- Some sorting algorithms
Can you add to the above list?