Given a positive integer N, the task is to check whether the given number N can be represented as the sum of the distinct powers… Read More

# Tag Archives: maths-power

Given an array arr[] consisting of N integers the task is to find the minimum number of elements that should be removed, such that for… Read More

Given an array arr[] consisting of N positive integers, the task is to find the number of array elements whose highest power of 2 less… Read More

Given an integer N, the task is to find the number of steps required to reduce the given number N to 1 by performing the… Read More

Given an integer N, the task is to find the Kth digit from the end of an integer N. If the Kth digit is not… Read More

Given a positive integer N, the task is to find the average of the fourth powers of the first N natural numbers. Examples: Input: N… Read More

Given two positive numbers N and X, the task is to check if the given number N can be expressed as the sum of distinct… Read More

Given an array arr[] consisting of N positive integers and an integer K, the task is to minimize the maximum value of the array by… Read More

Given an array arr[] consisting of N integers, the task is to find the sum of array elements that are equidistant from the two consecutive… Read More

Given a positive intege N, the task is to find the number of relations that are neither reflexive nor irreflexive on a set of first… Read More

Given a positive integer N, the task is to find the count of integers from the range [1, N] such that the integer cannot be… Read More

Given an array arr[] of size N and an integer K, the task is to replace every array element consisting of K as a digit,… Read More

Given a positive integer N, the task is to find the number of relations that are irreflexive antisymmetric relations that can be formed over the… Read More

Given three integers A, B, and C representing the coefficients of a quadratic equation Ax2 + Bx + C = 0 and a positive integer… Read More

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