Блог пользователя C137

Автор C137, 8 лет назад, По-английски

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.

  • Проголосовать: нравится
  • -18
  • Проголосовать: не нравится

»
8 лет назад, # |
  Проголосовать: нравится -8 Проголосовать: не нравится

easi task)))

»
8 лет назад, # |
  Проголосовать: нравится +7 Проголосовать: не нравится
  • »
    »
    8 лет назад, # ^ |
      Проголосовать: нравится -8 Проголосовать: не нравится

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

    however i think it might be helpful :p :p

»
7 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Thanks for this blog!