INTERACTIVE COURSE

Intermediate

38 Lessons

3h

Certificate of Completion

28 Playgrounds

6 Challenges

5 Quizzes

392 Illustrations

Course Overview

If you’ve ever struggled with solving coding problems using recursion, or if you’ve just got an interview coming up and want to brush up on your knowledge, you’ll definitely find this course helpful. You’ll start with the basics of what recursion is and why it’s important before diving into what it looks like in practice. You’ll see how recursion can help you solve a variety of different math, string, and data structure problems, using interactive code playgrounds you can execute directly in your browser....

Course Content

1

Recursion Fundamentals

What is Recursion?Direct vs. Indirect RecursionAdvantages and DisadvantagesRecursion vs. IterationChanging Iterative Code to Recursive

2

Recursion with Numbers

Computing FactorialsSum of Integers from 1 to nModulo Using RecursionComputing Fibonacci SequenceChallenge 1: Find the greatest common divisorSolution Review 1: Find the Greatest Common DivisorChallenge 2: Check for Prime NumberSolution Review 2: Check for Prime NumberQuick Quiz on Recursion with Numbers!

3

Recursion With Strings

Reversing a StringRemoving Spaces in a StringRemoving Duplicates in a StringMerging Strings in Alphabetic OrderChallenge 1: Let's find the total number of vowelsSolution Review 1: Let's Find the Total Number of VowelsChallenge 2: Is this String a Palindrome?Solution Review 2: Is this String a Palindrome?Quick Quiz on Recursion with Strings!

4

Recursion With Arrays

Find the First Occurrence of a Number in an ArrayCount the Number of Occurrences of a Number in an ArrayReplacing each Negative Integer with 0 in an ArrayInvert the Position of Elements in an ArrayChallenge 1 : Find if the Array is a PalindromeSolution Review 1: Find if the Array is a PalindromeChallenge 2: Sort an ArraySolution Review 2: Sort an ArrayQuick Quiz on Recursion with Arrays!

5

Recursion with Data Structures

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.

Recommended Courses

BEFORE STARTING THIS COURSE

AFTER FINISHING THIS COURSE