How to Reason about Recursion
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 = 00:00 Introduction 00:45 Definition of Recursion 02:07 Demo: Fibonacci Numbers 04:47 Code: Fibonacci Numbers 06:28 Our Two Major Challenges 06:45 Challenge 1 - Managing Progression of Recursion 08:10 Activity: Recursive Countdown Function 11:52 Observations: Recursive Countdown 12:55 Implicitly Counting Down 13:35 Activity: Doubling in a list 19:05 Observations: Working with lists 19:25 Challenge 2 - Building an answer 20:06 Activity: Reversing a String 25:25 Observations: Reversing a String 26:30 Activity: List Filtering 30:09 Mergesort Patterns 32:47 Mergesort Implementation 35:36 Observations: Merge Sort 37:16 Summary: "Going in" / "Coming back" pattern 38:02 Conclusion and Summary 39:17 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.

But what are Hamming codes? The origin of error correction

The Most Misunderstood Concept in Physics

Paper 1 Part B Q14b (Optimization Question) 2024 AL Combined Mathematics Paper Discussion

Mastering Dynamic Programming - How to solve any interview problem

Creator of C++: Bell Labs, Negative Overhead Abstraction, Mistakes | Bjarne Stroustrup

Tips for C Programming

Turing Award Winner: Disagreeing with Google, Postgres, Future Problems | Mike Stonebraker

How to Learn Python | Python Programming | Learn Python | Intellipaat
![Yann LeCun's $1B Bet Against LLMs [Part 1]](https://i.ytimg.com/vi/kYkIdXwW2AE/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLDbV4izF3i-wxevCVIn7FJjoy1vlA)
Yann LeCun's $1B Bet Against LLMs [Part 1]

Stackmaxxing for a recursion world record

"Clean" Code, Horrible Performance

How to Start Coding | Programming for Beginners | Learn Coding | Intellipaat

6. Monte Carlo Simulation

How To Think SO CLEARLY People Assume You're A Genius

Magnus Teaches the London System (to every Elo)

The Story of C++: The World's Most Consequential Programming Language | The Official Story

C Programming Tutorial for Beginners

But what is quantum computing? (Grover's Algorithm)

MIT Just Revealed the AI Bubble's Fatal Flaw

