Program to delete duplicates from a linked list

Program to delete duplicates from a linked list Given a list , write a Program to delete duplicates from a linked list Sample input:- 11->12->11->13->12 Sample output:- 11->12->13 Program to … Read More

Program to find nth fibonacci number by dynamic programming

Program to find nth fibonacci number by dynamic programming Given a number , write a Program to find nth fibonacci number by dynamic programming . Sample input:- 9 Sample output:- … Read More

Program to find the sum of the subsets of an array

Program to find the sum of the subsets of an array Given an array , Write a Program to find the sum of the subsets of an array . Sample … Read More

Program to generate all the subsets of an array

Program to generate all the subsets of an array Given a list of numbers , write a Program to generate all the subsets of an array. Sample input: 3 1 … Read More

Recursive program to reverse a number

Recursive program to reverse a number Given a number , write a Recursive program to reverse a number . Sample input:- 253 Sample output:- Reverse of 253 is  352 Recursive … Read More

Program to find the minimum element in an array by recursion

Program to find the minimum element in an array by recursion Given an array , write a Program to find the minimum element in an array by recursion. Sample input:- … Read More

Program to find the largest element in an array by recursion

Program to find the largest element in an array by recursion:- Given an array of elements , write a Program to find the largest element in an array by recursion … Read More

Checking for Prime number using recursion

Checking for Prime number using recursion Given an input number , write a program for Checking for Prime number using recursion . input:- 23 Output:- 23 is a prime number. … Read More

Recursive Program to calculate power of a number

Here  in this article we will write a Recursive Program to calculate power of a number for this purpose we multiple the number with itself until power become zero. So … Read More

Program to check Friendly pair

Before going to write a program  first we have to know what is friendly pair. what is friendly pair :- Two number n1 and n2 is said to friendly if … Read More