Given an array arr[] consisting of N strings, the task is to sort the array in ascending order after modifying each string by removing all… Read More

# Tag Archives: maths-power

Given a positive integer N, the task is to count the number of integers from the range [1, N], that can be represented as ab,… Read More

Given a positive integer N, the task is to find the number of Antisymmetric Relations on the given set of N elements. Since the number… Read More

Given a positive integer H, the task is to find the number of possible Binary Search Trees of height H consisting of the first (H… Read More

Given a circular array arr[] consisting of N positive integers, the task is to modify the array by replacing each array element with the nearest… Read More

Given a string S consisting of N lowercase alphabets, the task is to remove the characters from the string whose frequency is not a power… Read More

Given a sorted array arr[] consisting of N positive integers, the task is to minimize the total number of increments or decrements of each array… Read More

Given an integer N, the task is to count numbers from the range [1, N] which are the power of prime numbers. Examples: Input: N… Read More

Given two positive integers X and K, the task is to find all possible pair of integers (A, B) such that the difference between the… Read More

Given an array arr[] consisting of N odd integers, the task is to count the different number of ways to make the product of all… Read More

Given a positive integer N, the task is to check whether the given integer is an even power of 2 or not. Examples: Input: N… Read More

Given a positive integer N, the task is to find the number of irreflexive relations that can be formed over the given set of elements.… Read More

Given an array arr[] consisting of N positive integers, the task is to find the nearest perfect power of 2 of the nearest perfect squares… Read More

Given a circular array arr[] consisting of N integers, the task is to replace all the array elements with the nearest possible power of its… Read More

Given a positive even number N, the task is to split the first N powers of 2 into two equal sequences such that the absolute… Read More