## Product of 2 numbers using recursion | Set 2

Given two numbers N and M. The task is to find the product of the 2 numbers using recursion. Note: The numbers can be both… Read More »

- Backtracking | Introduction
- Recursively Reversing a linked list (A simple implementation)
- Modular exponentiation (Recursive)
- Check if a word exists in a grid or not
- How will you print numbers from 1 to 100 without using loop? | Set-2
- Count ways to reach a score using 1 and 2 with no consecutive 2s
- Program to check if an array is palindrome or not using Recursion
- Reduce a number to 1 by performing given operations
- Water Jug Problem using Memoization
- Generating subarrays using recursion
- Recursive program to print all subsets with given sum
- Count all possible position that can be reached by Modified Knight
- Printing all subsets of {1,2,3,...n} without using array or loop
- Find Nth term (A matrix exponentiation example)
- Number of Binary Strings of length N with K adjacent Set Bits
- Print all the combinations of a string in lexicographical order
- Count of Numbers in a Range divisible by m and having digit d in even positions
- Count all Grandparent-Parent-Child Triplets in a binary tree whose sum is greater than X
- Generating all possible Subsequences using Recursion
- Longest Ordered Subsequence of Vowels
- Number of handshakes such that a person shakes hands only once
- Count Unary Numbers in a Range
- Check whether the two Binary Search Trees are Identical or Not
- Maximum length of segments of 0's and 1's
- Check if item can be measured using a scale and some weights
- Number of balanced bracket expressions that can be formed from a string
- Java 8 | Arrays parallelSort() method with Examples
- Product of 2 numbers using recursion | Set 2
- Print all subsequences of a string using ArrayList
- Number of Paths of Weight W in a K-ary tree

Given two numbers N and M. The task is to find the product of the 2 numbers using recursion. Note: The numbers can be both… Read More »

Given pointer to the head node of a linked list, the task is to recursively reverse the linked list. We need to reverse the list… Read More »

Given an array. The task is to generate and print all of the possible subsequences of the given array using recursion. Examples: Input : [1,… Read More »

Given an array, generate all the possible subarrays of the given array using recursion. Examples: Input : [1, 2, 3] Output : [1], [1, 2],… Read More »

We are given a recursive function that describes Nth terms in form of other terms. In this article we have taken specific example. Now you… Read More »

Given a string comprising of ones and zeros. The task is to find the maximum length of the segments of string such that a number… Read More »

Given two numbers and . The task is to find the number of ways in which a can be represented by a set such that… Read More »

Find the nth node from the end in the given linked list using a recursive approach. Examples: Input : list: 4->2->1->5->3 n = 2 Output… Read More »

Given an integer n and an array of positions ‘position[]’ (1 <= length(position[]) <= 2n), find the number of ways of proper bracket expressions that… Read More »

The task is to convert a nested list into a single list in python i.e no matter how many levels of nesting is there in… Read More »

Given an integer N, the task is to find an aggregate sum of all integer partitions of this number such that each partition does not… Read More »

Approved Offer. Bank Of America has visited our college for on campus recruitment . The recruitment consisted of 4 Rounds in total. The recruitment was… Read More »

Given an array A[] we need to find sum of its elements using Tail Recursion Method. We generally want to achieve tail recursion (a recursive… Read More »

Given two jugs with the maximum capacity of m and n liters respectively. The jugs don’t have markings on them which can help us to… Read More »

Given three numbers a, b and c, we need to find (ab) % c Now why do “% c” after exponentiation, because ab will be… Read More »