Java Program to copy all elements of one array into another array
Java Program to find the frequency of each element in the array
Java Program to left rotate the elements of an array
Java Program to print the duplicate elements of an array
Java Program to print the elements of an array
Java Program to print the elements of an array in reverse order
Java Program to print the elements of an array present on even position
Java Program to print the elements of an array present on odd position
Java Program to print the largest element in an array
Java Program to print the smallest element in an array
Java Program to print the number of elements present in an array
Java Program to print the sum of all the items of the array
Java Program to right rotate the elements of an array
Java Program to sort the elements of an array in ascending order
Java Program to sort the elements of an array in descending order
Find 3rd Largest Number in an Array
Find 2nd Largest Number in an Array
Find Largest Number in an Array
Find 2nd Smallest Number in an Array
Find Smallest Number in an Array
Remove Duplicate Element in an Array
Add Two Matrices
Multiply Two Matrices
Print Odd and Even Number from an Array
Transpose matrix
Java Program to subtract the two matrices
Java Program to determine whether a given matrix is an identity matrix
Java Program to determine whether a given matrix is a sparse matrix
Java Program to determine whether two matrices are equal
Java Program to display the lower triangular matrix
Java Program to display the upper triangular matrix
Java Program to find the frequency of odd & even numbers in the given
matrix
Java Program to find the product of two matrices
Java Program to find the sum of each row and each column of a matrix
Java Program to find the transpose of a given matrix
Find Largest element in an array
Find Smallest Element in an Array
Find the Smallest and largest element in an array
Find Second Smallest Element in an Array
Calculate the sum of elements in an array
Reverse an Array
Sort first half in ascending order and second half in descending
Sort the elements of an array
Finding the frequency of elements in an array
Sorting elements of an array by frequency
Finding the Longest Palindrome in an Array
Counting Distinct Elements in an Array
Finding Repeating elements in an Array
Finding Non Repeating elements in an Array
Removing Duplicate elements from an array
Finding Minimum scalar product of two vectors
Finding Maximum scalar product of two vectors in an array
Counting the number of even and odd elements in an array
Find all Symmetric pairs in an array
Find maximum product sub-array in a given array
Finding Arrays are disjoint or not
Determine Array is a subset of another array or not
Determine can all numbers of an array be made equal
Finding Minimum sum of absolute difference of given array
Sort an array according to the order defined by another array
Replace each element of the array by its rank in the array
Finding equilibrium index of an array
Rotation of elements of array- left and right
Block swap algorithm for array rotation
Juggling algorithm for array rotation
Finding Circular rotation of an array by K positions
Balanced Parenthesis Problem
Positive or Negative number
Even or Odd number
Sum of First N Natural numbers
Sum of N natural numbers
Sum of numbers in a given range
Greatest of two numbers
Greatest of the Three numbers
Leap year or not
Prime number
Prime number within a given range
Sum of digits of a number
Reverse of a number
Palindrome number
Armstrong number
Armstrong number in a given range
Fibonacci Series up to nth term
Find the Nth Term of the Fibonacci Series
Factorial of a number Power of a number
Factor of a number
Finding Prime Factors of a number
Strong number
Perfect number
Perfect Square
Automorphic number
Harshad number
Abundant number
Friendly pair Working with Numbers
Highest Common Factor(HCF)
Lowest Common Multiple (LCM)
Greatest Common Divisor
Binary to Decimal to conversion
Octal to Decimal conversion
Hexadecimal to Decimal conversion
Decimal to Binary conversion
Decimal to Octal Conversion
Decimal to Hexadecimal Conversion:
Binary to Octal conversion
Octal to Binary conversion
Addition of two fractions:
Replace all 0’s with 1 in a given integer
Can a number be expressed as a sum of two prime numbers?
Count possible decoding of a given digit sequence
Calculate the area of a circle
Find the prime numbers between 1 to 100
Calculate the number of digits in an integer
Convert digit/number to words
Counting number of days in a given month of a year:
Finding Number of times x digit occurs in a given input
Finding number of integers which has exactly x divisors
Finding Roots of a quadratic equation
Codes for Recursion
Power of a Number
Prime Number
Largest element in an array
Smallest element in an array
Reversing a Number
HCF of two numbers
LCM of two numbers
Program to calculate length of the string using recursion
Print All Permutations of a String- C | C++ | Java | Python
Given an integer N the task is to print the F(N)th term.
Given a list arr of N integers, print sums of all subsets in it
Last non-zero digit in factorial
Given a positive integer N, return the Nth row of pascal’s triangle
Given an integer N representing the number of pairs of parentheses, the
task is to generate all combinations of well-formed(balanced) parentheses
Find the Factorial of a number using recursion
Find all possible Palindromic partitions of the given String
Find all the N bit binary numbers having more than or equal 1’s than 0’s.
Given a set of positive integers, find all its subsets.
Given a string s, remove all its adjacent duplicate characters recursively