The Wayback Machine - https://web.archive.org/web/20240717024632/https://www.geeksforgeeks.org/top-50-interview-problems-on-recursion-algorithm/
Open In App

Top 50 Problems on Recursion Algorithm asked in SDE Interviews

Last Updated : 28 Nov, 2023
Improve
Suggest changes
Post a comment
Like Article
Like
Save
Share
Report

Recursion is one of the most essential algorithms which uses the concept of code reusability and repeated usage of the same piece of code. In this post, we have curated an extensive list of interview questions asked around the Recursion Algorithm. The point which makes Recursion one of the most used algorithms is that it forms the base for many other algorithms such as:

  • Tree traversals
  • Graph traversals
  • Divide and Conquers Algorithms
  • Backtracking algorithms 

file.png

To learn more about Recursion Algorithm, Please refer to the Tutorial on Recursion Algorithms

Easy Interview Problems on Recursion
Print 1 to n without using loops
Print N to 1 without loop
Mean of Array using Recursion
Sum of natural numbers using recursion
Decimal to binary number using recursion
Sum of array elements using recursion
Print reverse of a string using recursion
Program for length of a string using recursion
Sum of digit of a number using recursion
Tail recursion to calculate sum of array elements.
Program to print first n Fibonacci Numbers | Set 1
Program for factorial of a number
Recursive Programs to find Minimum and Maximum elements of array
Recursive function to check if a string is palindrome
Count Set-bits of number using Recursion
Print Fibonacci Series in reverse order using Recursion
Coin Change | DP-7
Medium Interview Problems on Recursion
Flood Fill Algorithm
Recursively remove all adjacent duplicates
Sort the Queue using Recursion
Reversing a queue using recursion
Binary to Gray code using recursion
Delete a linked list using recursion
Product of 2 Numbers using Recursion
Programs for Printing Pyramid Patterns using Recursion
Length of longest palindromic sub-string : Recursion
Program for Tower of Hanoi Algorithm
Time Complexity Analysis | Tower Of Hanoi (Recursion)
Program to calculate value of nCr using Recursion
Find geometric sum of the series using recursion
Convert a String to an Integer using Recursion
DFS traversal of a Tree
Bottom View of a Binary Tree using Recursion
Write a program to print all Permutations of given String
Print all subsets of a given Set or Array
Print all possible paths from top left to bottom right of a mXn matrix
Print all combinations of balanced parentheses
Longest Common Subsequence (LCS)
Print Right View of a Binary Tree
Hard Interview Problems on Recursion
Find the value of a number raised to its reverse
How to Sort a Stack using Recursion
Reverse a Doubly linked list using recursion
Given a string, print all possible palindromic partitions
Check if a string is a scrambled form of another string
Word Break Problem | DP-32
Print all palindromic partitions of a string
N Queen Problem | Backtracking-3
Algorithm to Solve Sudoku | Sudoku Solver
The Knight’s tour problem
Generate all N digit numbers having absolute difference as K between adjacent digits

Some other important Tutorials:



Similar Reads

Top 50 Problems on Heap Data Structure asked in SDE Interviews
A Heap is a special Tree-based Data Structure in which the tree is a complete binary tree. Generally, heaps are of two types: Max-Heap and Min-Heap. To know more about this Data Structure in-depth refer to the Tutorial on Heap Data-Structure. Given below are the most frequently asked interview questions on Heaps:  Easy Interview Questions on Heap D
2 min read
Top 50 Problems on Queue Data Structure asked in SDE Interviews
A Queue is defined as a linear data structure that is open at both ends and the operations are performed in First In First Out (FIFO) order. We define a queue to be a list in which all additions to the list are made at one end, and all deletions from the list are made at the other end. The element which is first pushed into the order, the operation
3 min read
Top 50 Problems on Matrix/Grid Data Structure asked in SDE Interviews
A Matrix/Grid is a two-dimensional array that consists of rows and columns. It is an arrangement of elements in horizontal or vertical lines of entries. Here is the collection of the Top 50 list of frequently asked interviews question on Matrix/Grid in the SDE Interviews. Problems in this Article are divided into three Levels so that readers can pr
3 min read
Top 50 Problems on Hash Data Structure asked in SDE Interviews
Hashing is a technique or process of mapping keys, and values into the hash table by using a hash function. It is done for faster access to elements. The efficiency of mapping depends on the efficiency of the hash function used. To learn more about hashing and hashmaps, please refer to the Tutorial on Hashing. Given below are the most frequently as
3 min read
Top 50 Problems on Linked List Data Structure asked in SDE Interviews
A Linked List is a linear data structure that looks like a chain of nodes, where each node is a different element. Unlike Arrays, Linked List elements are not stored at a contiguous location. Here is the collection of the Top 50 list of frequently asked interviews question on Linked Lists. Problems in this Article are divided into three Levels so t
3 min read
Top 50 Problems on Stack Data Structure asked in SDE Interviews
A Stack is a linear data structure in which the insertion of a new element and removal of an existing element takes place at the same end represented as the top of the stack. To learn about Stack Data Structure in detail, please refer to the Tutorial on Stack Data Structure. Given below are the most frequently asked interview questions on Stack:Eas
3 min read
90 Most Asked Aptitude and Reasoning Questions in Interviews
If we wish to excel in aptitude tests, interviews, placement exams, or competitive exams, we must prepare and practice well. However, to cover the commonly asked aptitude questions, we need proper guidance and direction. To enhance our problem-solving skills and sharpen our minds, a set of topics has been created. It includes two questions along wi
15+ min read
Commonly Asked Questions in Goldman Sachs Interviews
Reverse words in a given string Number Formation Overlapping rectangles Ugly Numbers Column name from a given column number Stock buy and sell Non Repeating Character Merge Two Sorted Arrays Egg Dropping Puzzle Squares in N*N Chessboard Rectangles in N*N Board Wave Array LRU Cache Get minimum element from stack Implement Queue using array Queue usi
1 min read
Commonly asked questions in Flipkart Interviews
Snake and Ladder Problem Chocolate Distribution Problem Solve the Sudoku Shortest direction 0 - 1 Knapsack Problem Inversion of array Maximum of all subarrays of size k Possible words from Phone digits Doubling the value Print the Kth Digit Consecutive 1's not allowed Search in a Rotated Array Kadane's Algorithm Rat in a Maze Problem Multiply two s
1 min read
Top 50 Searching Coding Problems for Interviews
Searching in Data Structures and Algorithms (DSA) is a fundamental operation that involves finding a specific element within a collection of data. In our article "Top 50 Searching Coding Problems for Interviews", we present a collection of essential coding challenges focused on searching algorithms. These problems are carefully selected to help you
4 min read
three90RightbarBannerImg