Subj : Re: Are recursive functions ever needed? To : comp.programming From : Joris Dobbelsteen Date : Sat Oct 01 2005 07:51 pm "Tatu Portin" wrote in message news:z%x%e.451$nZ1.352@read3.inet.fi... > Aleya Roe wrote: [snip] > Well, my problem here seems to be lack of good examples where > recursion is needed. Would anybody provide some? I used it on a large tree structure. Here the result of any element is dependent on itself and the elements below it. Though the elements below it are not exactly the same. They have the exact same structure, inputs and results for the formula, but the calculation is different. The most simple way to compute the graph is to use recursion on it. - Joris .