Code360 powered by Coding Ninjas X Naukri.com. Code360 powered by Coding Ninjas X Naukri.com
Last updated: Aug 2, 2022

Recursion

When we repeat a similar process many times, it is known as Recursion. In Recursion, a function calls itself many times till it hits some base case, making a recursive tree where we pass every child's output is to its parent. Recursion is extremely useful in the cases of tree-based and graph-based problems
what is Recursion EASY
We will study recursion in this blog. We will mainly focus on its working, memory representations, limitations, applications, advantages and disadvantages.
Recursion in Data Structure: How it Works Types EASY
Recursion in the data structure can be defined as a method through which problems are broken down into smaller sub-problems to find a solution. Read on!
Recursive Functions MEDIUM
In this blog, we will understand recursive functions, how to implement them, their benefits, and the challenges of implementing the recursive functions.
Tail Recursion EASY
This blog will learn about Tail Recursion and its implementation with code and examples.
Insert a Node in a Singly Linked List at a given Position using Recursion EASY
This article discusses how to insert a node in a Singly Linked List at a given position using Recursion.
Different Ways to Add Parentheses MEDIUM
In this article, we’ll learn the different ways of adding parentheses to group numbers and operators.
How to Find all the Palindromic Partitions of a String MEDIUM
In this blog, we will learn to find all the palindromic partitions of a string using recursion. We will look at the idea behind solving the problem and finally will see the implementation in C++.
Add Two Numbers Represented by a Linked List MEDIUM
Add numbers from linked lists. Learn how to add two numbers represented by linked lists through the traversal Approach, Stack, Backtracking and Recursive approach.
Difference between Iteration and Recursion EASY
This article will briefly discuss Iteration and recursion. Then finally, we will discuss the difference between Iteration and recursion.
Sum of the Combination of Numbers | Part-1 MEDIUM
This blog discusses the solution to the problem in which we have to find the combinations of numbers whose sum is equal to a given number. Read to learn more.
Sum of the combination of numbers | Part-2 MEDIUM
This blog discusses the method to find all the combinations of given numbers such that the sum is equal to a given number. Read to learn more.
Program to Find Factorial of a Large Number Recursively MEDIUM
In this blog, we will learn how to solve a problem to find factorial of a large number recursively.
Count All Positive Integers Having N digits and the absolute difference between any two adjacent digits is K. HARD
In this article, we will discuss the problem of finding the count of all positive integers having N digits, and the absolute difference between two adjacent digits is K.
Print all unique combinations of setting N objects on an NxN board HARD
This article will discuss the solution to Print all unique combinations of setting N objects on an NxN board. Along with the solution, the article focuses on the time and space complexity of the solution.