Re: differences between singly/doubly recursive method

From: Oscar kind (oscar_at_danwa.net)
Date: 11/30/04


Date: Tue, 30 Nov 2004 06:38:39 +0100

Kenneth <jagger7774@hotmail.com> wrote:
> What is differences between singly recursvie method and doubly recursive
> method?

Recursion is calling a method from within itself.

Single recursion is thus recursion where the recurvive method contains
a singlke recurvive call.

Double recursion is thus recursion where the recurvive method contains
a two recurvive calls.

-- 
Oscar Kind                                    http://home.hccnet.nl/okind/
Software Developer                    for contact information, see website
PGP Key fingerprint:    91F3 6C72 F465 5E98 C246  61D9 2C32 8E24 097B B4E2


Relevant Pages

  • Re: Linking without -lpthread doesnt fail??
    ... I understand what you are saying but I don't ... > understand the purpose of such. ... Presumably you called pthread_create*before* calling ... In order to understand recursion you must first understand recursion. ...
    (comp.programming.threads)
  • Re: indirect recursion
    ... Any recursion can be hard to debug. ... like A calling B twice, and B calling C twice, and C calling A twice, that ...
    (comp.lang.c)
  • Re: Got stuck with redirecting to less
    ... >>Sure it does, on exit. ... > But it was calling closeon the FD before it exited. ... So when stdio tried ... In order to understand recursion you must first understand recursion. ...
    (comp.unix.programmer)
  • Re: Is this recursion?
    ... you should look at your handling for empty strings. ... I understand that calling a recursive method when a negative number condition exists is not a happy event. ... The key condition is that the recursion process should always ...
    (comp.lang.java.help)
  • Re: Variable number of parameters in a function call?
    ... >> is it possible to define a function in a way that when calling it I can ... bolts of recursion? ... MPJ ...
    (comp.lang.c)