Recursion explanation - how it works? | SoloLearn: Learn to code for FREE!

+228

Recursion explanation - how it works?

If you want to know, click the link below: https://www.sololearn.com/discuss/307407/?ref=app

4/10/2017 3:21:24 PM

Kuba Siekierzyński

114 Answers

New Answer

+92

This is how :)

+69

Now someone access the link until SL crashes and report to devs the amount of recursion it requires to crash app.

+52

Wow, Awesome! Recursion is much powerful, looks like a bug in the app 😂

+50

To understand what is recursion, you must understand what is recursion!! :))

+43

== ok........this is the most epic recursion that I have ever seen.😆😆😆

+36

wow ✌️👍 😎 practical working example for a moment I got traped in the recursion...😵😵😵😂😂😂

+30

#ThugLife

+23

"And another one." infinity post

+22

Greaaat!

+18

@Emma You are really inactive, but now you are active and I want to thank you for being my first ever Sololearn follower... You motovated me to continue using this app and I am really glad I still use it Thank you!

+16

Yes, I know - it should have a base exit clause ;)

+14

In C, when a function call itself again and again it is called Recursion

+13

Recursion is fairly straightforward once you have done it a few times. My suggestion -- try writing a few recursive function. start with Fibonacci. Essentially you break your problem into sub problems until you hit a really easy sub problem you know the answer to. then you use the sub problems to solve a harder problem.

+12

Recursion != infinite loop.

+11

My advice: To understand recursion, you first have to understand recursion.

+11

It is very important in programming.... Useful for less coding...

+9

So an infinite loop with no base case.

+9

lmao at first i was like wheres the code. why do i keep opening the same post. then i understood....

+9

Sahil Exactly :)

+8

This is the best recursion I have seen in my life