INTERACTIVE COURSE

Intermediate

58 Lessons

8h

Certificate of Completion

AI Explanations

AI Explanations

AI Mock Interview

AI Mock Interview

37 Playgrounds

15 Challenges

6 Quizzes

666 Illustrations

Course Overview

If you’ve ever struggled with solving problems using recursion, or if you have to brush up your skills for an interview, this course is for you. We'll start with the basics of what recursion is and why it’s important before diving into practicing solving actual questions. 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 to solve complex real-world problems. We hope ...

Course Content

1

Recursion Fundamentals

Who is this course for?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 FunctionsDifference Between Iteration and RecursionConverting Iterative Code to Recursive CodeCount Vowels in a StringChallenge 1: Compute the Square of a NumberSolution Review: Compute the Square of a NumberChallenge 2: Search the First Occurrence of a NumberSolution Review: Search the First Occurrence of a NumberChallenge 3: The nth Fibonacci NumberSolution Review: Corresponding Fibonacci NumberTest Your Knowledge 2

3

Recursion with Numbers

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 Spaces and 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 PalindromeSolution Review: Check PalindromeTest Your Knowledge 4

5

Recursion with Arrays

Count all Occurrences of a NumberReverse 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.

Tackle anything you might face on a coding interview in JavaScript with absolute confidence.

Ace the JavaScript Coding Interview

Catch up on everything you’ll need to ace your JavaScript interviews.

5 Modules

Recommended Courses

BEFORE STARTING THIS COURSE

AFTER FINISHING THIS COURSE