INTERACTIVE COURSE

Intermediate

58 Lessons

7h

Certificate of Completion

AI Explanations

AI Explanations

AI Mock Interview

AI Mock Interview

37 Playgrounds

15 Challenges

6 Quizzes

628 Illustrations

Course Overview

If you’ve ever struggled with solving coding problems using recursion, or if you need to brush up your recursion skills for an interview, this course is for you! We will start with the basics of recursion before we practice solving actual coding problems. You’ll have access to detailed explanations and visualizations for each problem to help you along the way. By the time you have completed this course, you’ll be able to use all the concepts of recursion to solve complex, real-world problems. We hope that ...

Course Content

1

Recursion Fundamentals

Who Should Take This Course?What is Recursion?Recursion and Memory VisualizationDirect Vs. Indirect RecursionWhen to Use Recursion?Understanding a Recursive ProblemTest Your Knowledge 1

2

Iteration Vs. Recursion

Overview of Iterative FunctionsDifferences Between Iterative and Recursive FunctionsConverting Iterative Code to Recursive CodeCount Vowels in a StringChallenge 1: Compute Square of a NumberSolution Review: Compute the Square of a NumberChallenge 2: Search First Occurrence of a NumberSolution Review: Search First Occurrence of a NumberChallenge 3: Corresponding Fibonacci NumberSolution Review: Corresponding Fibonacci NumberTest Your Knowledge 2

3

Recursion with Numbers

The Power of a NumberSum of Integers from 1 to nModulusChallenge 1: Find the Greatest Common DivisorSolution Review: Find the Greatest Common DivisorChallenge 2: Pascal's TriangleSolution Review: Pascal's TriangleChallenge 3: Convert Decimal Number to Binary NumberSolution Review: Convert Decimal Number to Binary NumberTest Your Knowledge 3

4

Recursion with Strings

Remove Tabs in a StringRemove All Adjacent Duplicates from a StringMerge Two Sorted Strings LexicographicallyChallenge 1: Length of a StringSolution Review: Length of a StringChallenge 2: Sum of Digits in a StringSolution Review: Sum of Digits in a StringChallenge 3: Check for a PalindromeSolution Review: Check for a PalindromeTest Your Knowledge 4

5

Recursion with Arrays

Count All Occurrences of a NumberInvert an ArrayReplace All Negative Numbers with ZeroChallenge 1: Average of NumbersSolution Review: Average of NumbersChallenge 2: Balance ParenthesisSolution Review: Balance ParenthesisChallenge 3: Sort an ArraySolution Review: Sort an ArrayTest Your Knowledge 5

6

Recursion with Data Structures

9 Lessons

7

Conclusion

1 Lesson

COURSE AUTHOR

How You'll Learn

You don’t get better at swimming by watching others. Coding is no different. Practice as you learn with live code environments inside your browser.

Videos are holding you back. Educative‘s interactive, text-based lessons accelerate learning — no setup, downloads, or alt-tabbing required.

Learn faster and smarter with adaptive AI tools embedded in every Educative course.

Built-in assessments let you test your skills. Completion certificates let you show them off.

Part of the Python Interview Prep Path

Ace the Python Coding Interview

Stand out from the crowd. Cover everything you need to know to crack your coding interviews in Python.

7 Modules

Recommended Courses

BEFORE STARTING THIS COURSE

AFTER FINISHING THIS COURSE