How to Reason about Recursion

0612 TV w/ NERDfirst
0612 TV w/ NERDfirst
1.9 هزار بار بازدید - 3 سال پیش - Recursion is a tough topic
Recursion is a tough topic for the beginner, but with a bit of practice, you can absolutely master this skill! In this video, we look at some common patterns in recursive solutions and try to formalize on how they work! = TIMESTAMPS = https://www.seevid.ir/fa/w/5dnap39LQNk Introduction https://www.seevid.ir/fa/w/5dnap39LQNk Definition of Recursion https://www.seevid.ir/fa/w/5dnap39LQNk Demo: Fibonacci Numbers https://www.seevid.ir/fa/w/5dnap39LQNk Code: Fibonacci Numbers https://www.seevid.ir/fa/w/5dnap39LQNk Our Two Major Challenges https://www.seevid.ir/fa/w/5dnap39LQNk Challenge 1 - Managing Progression of Recursion https://www.seevid.ir/fa/w/5dnap39LQNk Activity: Recursive Countdown Function https://www.seevid.ir/fa/w/5dnap39LQNk Observations: Recursive Countdown https://www.seevid.ir/fa/w/5dnap39LQNk Implicitly Counting Down https://www.seevid.ir/fa/w/5dnap39LQNk Activity: Doubling in a list https://www.seevid.ir/fa/w/5dnap39LQNk Observations: Working with lists https://www.seevid.ir/fa/w/5dnap39LQNk Challenge 2 - Building an answer https://www.seevid.ir/fa/w/5dnap39LQNk Activity: Reversing a String https://www.seevid.ir/fa/w/5dnap39LQNk Observations: Reversing a String https://www.seevid.ir/fa/w/5dnap39LQNk Activity: List Filtering https://www.seevid.ir/fa/w/5dnap39LQNk Mergesort Patterns https://www.seevid.ir/fa/w/5dnap39LQNk Mergesort Implementation https://www.seevid.ir/fa/w/5dnap39LQNk Observations: Merge Sort https://www.seevid.ir/fa/w/5dnap39LQNk Summary: "Going in" / "Coming back" pattern https://www.seevid.ir/fa/w/5dnap39LQNk Conclusion and Summary https://www.seevid.ir/fa/w/5dnap39LQNk End Card ----- Want to contribute to the channel? Consider using the "Super Thanks" feature above, or visit my website at https://nerdfirst.net/donate to find alternative ways to donate. Thank you! ----- Disclaimer: Please note that any information is provided on this channel in good faith, but I cannot guarantee 100% accuracy / correctness on all content. Contributors to this channel are not to be held responsible for any possible outcomes from your use of the information.
3 سال پیش در تاریخ 1400/11/12 منتشر شده است.
1,987 بـار بازدید شده
... بیشتر