Тёмный

How to Reason about Recursion 

0612 TV w/ NERDfirst
Подписаться 59 тыс.
Просмотров 2 тыс.
50% 1

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 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.

Опубликовано:

 

27 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 21   
@NERDfirst
@NERDfirst 2 года назад
How did you find the style of today's video? I hope it's a little more visually interesting than before - Production value has gone up a bit and I've tried a couple of subtle tricks to hopefully make things a bit less boring compared to a simple talking head! Let me know your thoughts =)
@Sky-rv3to
@Sky-rv3to 2 года назад
Thanks for sharing your knowledge. Much love.
@NERDfirst
@NERDfirst 2 года назад
And thank YOU very much for taking the time to comment. Really appreciate the participation and the kind words =)
@RainHunters
@RainHunters 8 месяцев назад
This is an amazing video, it helped me understand recursion like never before. Wish I found it earlier instead of a few hours before my exam. Nevertheless, astonishingly explained and paired with nice visuals, thank you!
@NERDfirst
@NERDfirst 8 месяцев назад
Hello and thank you very much for your comment! That's great to hear, glad you liked my work =)
@JediMocro
@JediMocro 2 года назад
Weer een hele mooie video, na al die jaren nog steeds de beste content van de wereld, zet hem op strijder!
@NERDfirst
@NERDfirst 2 года назад
Echt heel erg bedankt! Really appreciate your support and kind words over the years =)
@fruwuehlingsrollen
@fruwuehlingsrollen 2 года назад
Just found this channel and damn, this really helped me alot in understanding some topics, thanks mate!
@NERDfirst
@NERDfirst 2 года назад
Hello and thank you very much for your comment! Glad to hear you find my work useful!
@wazy1852
@wazy1852 2 года назад
This content needs more views
@NERDfirst
@NERDfirst 2 года назад
Hello and thank you very much for your comment! Glad you liked my work =)
@mayank8387
@mayank8387 2 года назад
I needed this. Much thanks!
@NERDfirst
@NERDfirst 2 года назад
You're welcome! Very happy to be of help =)
@lidaan8705
@lidaan8705 2 года назад
Спасибо, большое, за, ваш, труд. Мир, труд, май!
@NERDfirst
@NERDfirst 2 года назад
Hello and thank you for your comment! Glad you liked the video =)
@ludovicoprestipino851
@ludovicoprestipino851 2 года назад
U r a good teacher; thanks
@NERDfirst
@NERDfirst 2 года назад
You're welcome! Very happy to be of help =)
@7350652
@7350652 Год назад
thank you
@NERDfirst
@NERDfirst Год назад
You're welcome! Glad to be of help =)
@jipeejoce1353
@jipeejoce1353 2 года назад
Excellent work, especially the coding part when everything is explained in great detail but you should have removed the disturbing background noise easily detected on my headphones... The 'visual effects' are great and helped me not loosing to much attention. Well Done !
@NERDfirst
@NERDfirst 2 года назад
Hello and thank you very much for your comment! Glad to know the visuals helped in holding your attention - That's the goal, and I'm glad it helped! As for the audio - Sorry about that! Circumstances beyond my control mean we have to put up with road and fan noise. What you're listening to already has some not-so-subtle noise reduction applied, plus EQing and some manual volume level hacks. Hopefully this will improve when I move out next year!
Далее
5 Simple Steps for Solving Any Recursive Problem
21:03
ТРОЛЛИНГ СКАМЕРА СТАНДОФФ 2
00:59
ЭТОТ ПЕНЁК ИЗ PLANTS VS ZOMBIES - ИМБА!
00:48
Towers of Hanoi: A Complete Recursive Visualization
21:13
Premature Optimization
12:39
Просмотров 775 тыс.
If __name__ == "__main__" for Python Developers
8:47
Просмотров 389 тыс.
The moment we stopped understanding AI [AlexNet]
17:38
Просмотров 787 тыс.
The Algorithm Behind Spell Checkers
13:02
Просмотров 409 тыс.
ТРОЛЛИНГ СКАМЕРА СТАНДОФФ 2
00:59