# Recursion for Coding Interviews in JavaScript (Educative)

Recursion Fundamentals - Test Your Knowledge 1 Let's take a small quiz! View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/6183273149497344). Iteration Vs Recursion - Overview of Iterative Functions Here, we'll learn about the definition of Iteration as well as the format and the syntax of an iterative function View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/5849164367790080). Iteration Vs Recursion - Difference Between Iteration and Recursion In this lesson, we'll highlight the key differences between Iterative and Recursive functions. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/4694719101665280). Iteration Vs Recursion - Converting Iterative Code to Recursive Code In this lesson, we'll learn how to convert an iterative code to recursive code. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/6744367677046784). Iteration Vs Recursion - Count Vowels in a String In this lesson, we'll learn how to find the number of vowels in a string using recursion. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/6719274678747136). Iteration Vs Recursion - Challenge 1: Compute the Square of a Number Given a number, implement a function to compute its square. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/5440728480088064). Iteration Vs Recursion - Solution Review: Compute the Square of a Number This review provides a detailed analysis of the ways to compute the square of a number. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/6271008740737024). Iteration Vs Recursion - Challenge 2: Search the First Occurrence of a Number Given an array, find the first occurrence of a given target number. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/4835038770233344). Iteration Vs Recursion - Challenge 3: The nth Fibonacci Number Given an index, find the nth Fibonacci number. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/5286214414368768). Recursion with Numbers - Power of a Number In this lesson, we'll learn how to find the power of a number using recursion. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/4518956142428160). Recursion with Numbers - Sum of Integers from 1 to n In this lesson, we'll learn how to find the sum of numbers from 1 to n. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/6589418154491904). Recursion with Numbers - Modulus In this lesson, we'll learn about the modulo operation and how to implement it using recursion. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/4964301972439040). Recursion with Numbers - Challenge 1: Find the Greatest Common Divisor Given two numbers, find their greatest common divisor. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/6518486757015552). Recursion with Numbers - Solution Review: Convert Decimal Number to Binary Number This review provides a detailed analysis of the solution to convert a decimal number to a binary number. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/5377161206693888). Recursion with Strings - Remove Spaces and Tabs in a String In this lesson, we'll learn how to remove tabs from a string using recursion. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/5751131659567104). Recursion with Strings - Remove all Adjacent Duplicates from a String In this lesson, we'll learn how to remove all adjacent duplicates from a string using recursion. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/5500752917168128). Recursion with Strings - Merge Two Sorted Strings Lexicographically In this lesson, we'll learn how to merge two strings lexicographically. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/6628757639004160). Recursion with Strings - Solution Review: Length of a String This review provides a detailed analysis of the solution to find the length of a string recursively. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/6381805328400384). Recursion with Strings - Challenge 2: Sum of Digits in a String Given a string containing numbers, calculate the sum of those numbers. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/6626652824010752). Recursion with Strings - Solution Review: Sum of Digits in a String This review provides a detailed analysis of the solution to find the sum of digits in a string. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/4715062348480512). Recursion with Arrays - Count all Occurrences of a Number In this lesson, we will learn how to count all occurrences of a key in a given array. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/6668470651453440). Recursion with Arrays - Reverse an Array In this lesson, we will learn how to reverse an array recursively. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/4510681216843776). Recursion with Arrays - Challenge 1: Average of Numbers Given an array of numbers, compute the average of those numbers recursively. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/5644856049270784). Recursion with Arrays - Solution Review: Average of Numbers This review provides a detailed analysis of the solution to find the average of numbers. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/5045493845458944). Recursion with Arrays - Challenge 3: Sort an Array Given an array of numbers, sort it in ascending order. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/6502965227552768). Recursion with Data Structures - Reverse Linked List In this lesson, we will learn how to reverse a linked list using recursion. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/6422517604417536). Recursion with Data Structures - Depth First Traversal of Graph In this lesson, we will learn about depth first traversal of a graph using recursion. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/5525760041287680). Recursion with Data Structures - Challenge 1: Length of a Linked List Find the length of the given linked list. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/6411059571195904). Recursion with Data Structures - Solution Review: Length of a Linked List This review provides a detailed analysis of the solution to find the length of a linked list. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/4573027981328384). Recursion with Data Structures - Challenge 2: Reverse a Stack Given a stack, reverse the contents of the stack. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/5460545257865216). Recursion with Data Structures - Solution Review: Reverse a Stack This review provides a detailed analysis of the solution to reverse a stack using recursion. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/4737041038311424). Recursion with Data Structures - Challenge 3: Topological Sorting of a Graph Given a graph, return a list containing all the nodes of the graph in topological order. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/6448680666136576). Recursion with Data Structures - Solution Review 3: Topological Sorting of a Graph This review provides a detailed analysis of the solution to topologically sort a graph. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/5840962255323136). Recursion with Data Structures - Test Your Knowledge 6 Let's take a short Quiz! View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/6651659948130304). Recursion Fundamentals - Recursion and Memory Visualization In this lesson, we'll learn how memory is allocated for recursive functions. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/6156324725325824). Recursion Fundamentals - Direct vs. Indirect Recursion This lesson explains two different types of recursion: direct and indirect recursion. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/5219277940457472). Recursion Fundamentals - Understanding a Recursive Problem In this lesson, we'll learn methods to understand and visualize a recursive function. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/5801957845368832). Iteration Vs Recursion - Solution Review: Search the First Occurrence of a Number This review provides a detailed analysis of finding the first occurrence of the given number in an array. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/6746223102918656). Iteration Vs Recursion - Solution Review: Corresponding Fibonacci Number This review provides a detailed analysis of the ways to find the corresponding element at a given index in the Fibonacci series. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/6415099243790336). Iteration Vs Recursion - Test Your Knowledge 2 Let's take a small quiz! View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/6370184971419648). Recursion with Numbers - Solution Review: Find the Greatest Common Divisor This review provides a detailed analysis of the solution to find the greatest common divisor. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/4962810087866368). Recursion with Numbers - Challenge 2: Pascal's Triangle Given a number, return a list containing the values of the Pascal's Triangle of that size. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/6749286890995712). Recursion with Numbers - Solution Review: Pascal's Triangle This review provides a detailed analysis of the solution to Pascal's Triangle problem. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/6099366668402688). Recursion with Numbers - Challenge 3: Convert Decimal Number to Binary Number Given a decimal number, convert it to a binary number. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/5418749790257152). Recursion with Numbers - Test Your Knowledge 3 Let's take a small quiz! View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/4520811568300032). Conclusion - More on Recursion Let's examine a quick overview of what we learned in the course. We hope you enjoyed learning about recursion in Javascript. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/6240368645373952). Recursion with Strings - Challenge 1: Length of a String Given a string, find its length using recursion. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/5114468738531328). Recursion with Strings - Challenge 3: Check Palindrome Given a string, check whether or not it is a palindrome. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/5007724360237056). Recursion with Arrays - Challenge 2: Balance Parenthesis Given an array that contains opening and closing parentheses, check whether or not the opening and closing parentheses are balanced. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/5867064638046208). Recursion with Arrays - Test Your Knowledge 5 Let's take a small quiz! View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/5989533764026368). Recursion with Arrays - Replace all Negative Numbers with Zero In this lesson, we will learn how to recursively replace all negative numbers with 0 in an array. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/6318214323634176). Recursion Fundamentals - Who is this course for? Here, we'll outline the intended audience and prerequisites for this course. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/5255905421557760). Recursion Fundamentals - What is Recursion? We'll begin our course by introducing recursion. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/6451257646514176). Recursion Fundamentals - When to Use Recursion? In this lesson, we identify areas where recursion is used. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/6676740329963520). Recursion with Strings - Solution Review: Check Palindrome This review provides a detailed analysis of the solution to check whether or not a string is a palindrome. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/5043882762960896). Recursion with Strings - Test Your Knowledge 4 Let's take a small quiz! View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/6298267354660864). Recursion with Arrays - Solution Review: Balance Parenthesis This review provides a detailed analysis of the solution to determine whether or not an array contains balanced parenthesis. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/4910839440080896). Recursion with Arrays - Solution Review: Sort an Array This review provides a detailed analysis of the solution to sort an array. View the lesson [here](https://www.educative.io/collection/page/10370001/6352342267985920/4585959242858496).