Log In
0% completed
All Lessons
Free Lessons (9)
Recursion Fundamentals
Who is this course for?
What is Recursion?
Recursion and Memory Visualization
Direct vs. Indirect Recursion
When to Use Recursion?
Understanding a Recursive Problem
Test Your Knowledge 1
Iteration Vs Recursion
Overview of Iterative Functions
Difference Between Iteration and Recursion
Converting Iterative Code to Recursive Code
Count Vowels in a String
Challenge 1: Compute the Square of a Number
Solution Review: Compute the Square of a Number
Challenge 2: Search the First Occurrence of a Number
Solution Review: Search the First Occurrence of a Number
Challenge 3: The nth Fibonacci Number
Solution Review: Corresponding Fibonacci Number
Test Your Knowledge 2
Recursion with Numbers
Power of a Number
Sum of Integers from 1 to n
Modulus
Challenge 1: Find the Greatest Common Divisor
Solution Review: Find the Greatest Common Divisor
Challenge 2: Pascal's Triangle
Solution Review: Pascal's Triangle
Challenge 3: Convert Decimal Number to Binary Number
Solution Review: Convert Decimal Number to Binary Number
Test Your Knowledge 3
Recursion with Strings
Remove Spaces and Tabs in a String
Remove all Adjacent Duplicates from a String
Merge Two Sorted Strings Lexicographically
Challenge 1: Length of a String
Solution Review: Length of a String
Challenge 2: Sum of Digits in a String
Solution Review: Sum of Digits in a String
Challenge 3: Check Palindrome
Solution Review: Check Palindrome
Test Your Knowledge 4
Recursion with Arrays
Count all Occurrences of a Number
Reverse an Array
Replace all Negative Numbers with Zero
Challenge 1: Average of Numbers
Solution Review: Average of Numbers
Challenge 2: Balance Parenthesis
Solution Review: Balance Parenthesis
Challenge 3: Sort an Array
Solution Review: Sort an Array
Test Your Knowledge 5
Recursion with Data Structures
Reverse Linked List
Depth First Traversal of Graph
Challenge 1: Length of a Linked List
Solution Review: Length of a Linked List
Challenge 2: Reverse a Stack
Solution Review: Reverse a Stack
Challenge 3: Topological Sorting of a Graph
Solution Review 3: Topological Sorting of a Graph
Test Your Knowledge 6
Conclusion
More on Recursion
Practice Mock Interview
Recursion for Coding Interviews in JavaScript
/
...
/
Test Your Knowledge 2
Test Your Knowledge 2
Let's take a small quiz!
We'll cover the following...
Quiz on Iteration Vs. Recursion
Quiz on Iteration Vs.
...
Access this course and
1400+
top-rated courses and projects.
Unlock Full Access
Preview Free Lessons
→
Preview Free Lessons