ProDeveloperTutorialonAugust 28, 2026 Recursion: Given a linked list, find the middle element recursively Problem Statement: You are given a LL, you need to find the middle element recursively. Example: Input: 1 -> 2 -> 3 -> 4 -> 5… Discover More
ProDeveloperTutorialonAugust 28, 2026 Recursion: You are given a stack, reverse it using recursion Problem Statement: You are given a stack, you need to reverse it using recursion. You are allowed to use all the stack operation Example:… Discover More
ProDeveloperTutorialonAugust 28, 2026 Recursion: Given a stack, delete the middle element using recursion Problem Statement: You are given a stack, you need to delete the middle element using recursion. Example: Input: s = {1, 2, 3, 4, 5} Output: s… Discover More
ProDeveloperTutorialonAugust 27, 2026 Recursion: Given a decimal number, convert into binary number using recursion Problem Statement: Given a decimal number, convert into binary number using recursion Example: Input: n = 7 Output: 111 Solution Explanation:… Discover More
ProDeveloperTutorialonAugust 27, 2026 Recursion: Given a number, count the number of ways to express a number as sum of powers. Problem Statement: You are given 2 numbers, x and n. You need to find the number of ways to express x as a sum of nth powers of unique natural… Discover More
ProDeveloperTutorialonAugust 27, 2026 Recursion: Given a string and a sub-string, count the number of occurrence recursively. Problem Statement: You are given a string and sub-string. You need to find the occurrence of the sub-string recursively. Example: Input: str1… Discover More
ProDeveloperTutorialonAugust 27, 2026 Recursion: Print alternate node in a Linked List using recursion Problem Statement: You are given a LL, you need to print the alternate nodes using recursion Example: Input: 7 -> 6 -> 5 -> 4 -> 3… Discover More
ProDeveloperTutorialonAugust 26, 2026 Recursion: Print N to 1 using recursion Problem Statement: You are given an number N, you need to print values from N to 1 using recursion. Example: Input: N = 5 Output: 5 4 3 2 1… Discover More
ProDeveloperTutorialonAugust 26, 2026 Recursion: Check if a number is palindrome using recursion Problem Statement: Given an integer “n”, you need to check if the number is palindrome or not. A number when reversed, will… Discover More
ProDeveloperTutorialonAugust 26, 2026 Recursion: Power of three Problem Statement: You are given a number, return true if its a power of three else return false. Example: Input: n = 27 Output: true Solution… Discover More