Recursion: The Basics (with Examples)

Published on ● Video Link: https://www.youtube.com/watch?v=kGq98eYYwwI



Duration: 1:09:28
42 views
2


Happy Boxing Day! I hope you are having a wonderful holidays so far, and a Merry Ho Ho! In today's lesson we study recursion, another way of thinking about problem solving and a mechanism for solving problems in a self-described manner. We see plenty of basic examples and more! Join the fun!

Time Stamps:
0:00 What is recursion? Thinking about recursion.
4:57 Form of a recursive algorithm
13:08 Example 1, Counting the number of friends you have, iteration vs. recursion.
25:35 Example 2, Summing up numbers, iteratively, then recursively!
44:44 Example 3, factorial, discussion about connection between iterative algorithm and recursive algorithms
59:40 Example 4, Fibonacci numbers, recursive algorithms may be easy to write down but highly inefficient too sometimes (be careful)!
1:09:09 Closing

Have a beautiful day!

Supporters (to date of publication, by tier (top to bottom)):
----------------------------------------------------------
Patreon Supporters (General Support):
Draikou
Patreon Supporters (Basic Support):
Patreon Supporters (Supporter Access!):
Eric R
-----------------------------------------------------------
Become a supporter today! To support my work and mission to provide free or accessible Computer Science education (especially in theory), subscribe to the channel, share my videos. Please donate and contribute to support my work for more content:
PATREON: https://www.patreon.com/PageWizard
SUBSCRIBESTAR: https://www.subscribestar.com/drpage
PAYPAL: https://paypal.me/pagewizard

Follow also at:
FACEBOOK: https://www.facebook.com/DanielRPage
TWITTER: https://twitter.com/PageWizardGLE
QUORA: https://www.quora.com/profile/Daniel-R-Page
TWITCH: https://www.twitch.tv/pagewizard

#ComputerScience
#Algorithms
#DataStructures




Other Videos By PageWizard Games, Learning & Entertainment


2023-01-10Deterministic Finite Automata: Regular Operators, and Proving DFAs are Correct
2023-01-09Permutations and k-Permutations (Mathematics for Computer Science)
2023-01-07Dan Plays Pokemon Scarlet (January 6, 2023)
2023-01-06Multiplication Principle, Number of Ordered Sequences with Repeats (Maths for Computer Science)
2023-01-04Addition Principle, Inclusion/Exclusion Principle (2 Sets) [Mathematics for Computer Science]
2023-01-03Strings, Formal Languages, and Deterministic Finite Automata
2023-01-02Checking Solutions to Recurrence Relations (Mathematics for Computer Science)
2022-12-30Solving Recurrence Relations via Iteration
2022-12-30Dan Plays Pokemon Scarlet (December 29, 2022)
2022-12-28Recursion: How Does It Work?
2022-12-26Recursion: The Basics (with Examples)
2022-12-24Merry Christmas and Happy Holidays Wishes 2022!
2022-12-23Averaging Principle: Graphs with Less Than n-1 Edges are Disconnected (Maths for Computer Science)
2022-12-22Dan Plays Pokemon Scarlet (December 22, 2022)
2022-12-21What is the Averaging Principle? [FULL PROOF & MORE] (Maths for Computer Science)
2022-12-20Basics of Counting Principles, Permutations, and Combinations
2022-12-19Generalized Pigeonhole Principle [PROOF & EXAMPLE] (Mathematics for Computer Science)
2022-12-16Graphs & Pigeonhole Principle: Two (or More) Vertices Have The Same Degree (Mathematics for CS)
2022-12-16Dan Plays Pokemon Scarlet (December 15, 2022)
2022-12-14Sum of Pairs: Lucky 7 (Mathematics for Computer Science)
2022-12-14Recursion and Basic Recursive Thinking



Tags:
Computer Science
Algorithms
Data Structures
Education
CompSci
CS
PageWizard
Mathematics
Accessibility
University
COMPSCI
COMP
CSCI
Western
Manitoba
StFX
Regina
Recursion
Basics
Recursive algorithm
Recursive programming
programming
C++
Java