## Split the array into odd number of segments of odd lengths

Given an array of n length. The task is to check if the given array can be split into an odd number of sub-segment starting… Read More »

- Make all numbers of an array equal
- Convert a String to Integer Array in C/C++
- Check if a number can be expressed as a^b | Set 2
- Number of array elements derivable from D after performing certain operations
- Program to Convert Hexadecimal Number to Binary
- Ways to write N as sum of two or more positive integers | Set-2
- Find numbers a and b that satisfy the given conditions
- Count rotations of N which are Odd and Even
- ElGamal Encryption Algorithm
- Count numbers upto N which are both perfect square and perfect cube
- Sum of common divisors of two numbers A and B
- Largest number N which can be reduced to 0 in K steps
- Find minimum possible digit sum after adding a number d
- Count Odd and Even numbers in a range from L to R
- Check whether a number is Non-hypotenuse number
- Program to find first N Iccanobif Numbers
- Most frequent factor in a range of integers
- Closest sum partition (into two subsets) of numbers from 1 to n
- Minimum number of elements to be removed to make XOR maximum
- Program to solve the Alligation Problem
- Check if a number is Primorial Prime or not
- Check if difference of areas of two squares is prime
- Smallest and Largest Palindrome with N Digits
- Minimum multiplications with {2, 3, 7} to make two numbers equal
- Count Numbers with N digits which consists of even number of 0’s
- Natural Numbers
- Check if a number has digits in the given Order
- Program to Add Two Complex Numbers
- Sum of first N natural numbers which are divisible by X or Y
- Maximum of sum and product of digits until number is reduced to a single digit

Given an array of n length. The task is to check if the given array can be split into an odd number of sub-segment starting… Read More »

Given a number N. The task is to count the number of prime numbers from 2 to N that can be expressed as a sum… Read More »

Given two integers N and K, the task is to find a permutation of first 2*N natural numbers such that the following equation is satisfied.… Read More »

Given a number n, the task is to print all the numbers less than or equal to n which are perfect cubes as well as… Read More »

Given two numbers A and B ( A and B can be up to 106 ) which forms a number N = (A!/B!). The task… Read More »

Given three positive integers N, A and B. The task is to count the numbers of length N containing only digits A and B and… Read More »

Given an array arr[], the task is to make all the array elements equal with the given operation. In a single operation, any element of… Read More »

Given two numbers L and R, the task is to count the number of odd numbers in the range L to R. Examples: Input: l… Read More »

Given an integer sequence 1, 2, 3, 4, …, n. The task is to divide it into two sets A and B in such a… Read More »

Given a Natural number N and a whole number L, the task is to find the count of numbers, smaller than or equal to N,… Read More »

Given two numbers A and B, the task is to find the minimum number of operations required to make A and B equal. In each… Read More »

Given a positive integer n, the task is to check if n is a Non-hypotenuse number or not. If n is a Non-hypotenuse number then… Read More »

Given a positive integer N, the task is to check if N is a strong prime or not. In number theory, a strong prime is… Read More »

Given a positive integer . Find the number of steps required to minimize it to 1. In a single step N either got reduced to… Read More »

Given a positive integer N, the task is to check if N is a Factorial prime or not. If it is a factorial prime then… Read More »