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


Recursion explanation - how it works?

If you want to know, click the link below:

4/10/2017 3:21:24 PM

Kuba Siekierzyล„ski

114 Answers

New Answer


This is how :)


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


Wow, Awesome! Recursion is much powerful, looks like a bug in the app ๐Ÿ˜‚


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


== ok........this is the most epic recursion that I have ever seen.๐Ÿ˜†๐Ÿ˜†๐Ÿ˜†


wow โœŒ๏ธ๐Ÿ‘ ๐Ÿ˜Ž practical working example for a moment I got traped in the recursion...๐Ÿ˜ต๐Ÿ˜ต๐Ÿ˜ต๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚




"And another one." infinity post




@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!


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


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


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.


Recursion != infinite loop.


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


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


So an infinite loop with no base case.


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


Sahil Exactly :)


This is the best recursion I have seen in my life