C137's blog

By C137, 8 years ago, In English

Once a friend described recursion for me using the following problem:

Le's say that you are the first man standing in a queue, and you have a pen, you want to give it to the last person on the queue, simply say to the man sitting behind you: "If you are the last man in the queue then do nothing, else do like me" and give him the pen.

if you want some practical practice to understand recursion more, then i advise you to check the link.

  • Vote: I like it
  • -18
  • Vote: I do not like it

»
8 years ago, # |
  Vote: I like it -8 Vote: I do not like it

easi task)))

»
8 years ago, # |
  Vote: I like it +7 Vote: I do not like it
  • »
    »
    8 years ago, # ^ |
      Vote: I like it -8 Vote: I do not like it

    I didn't know it's original!!!

    however i think it might be helpful :p :p

»
7 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Thanks for this blog!