Skip to content

Tag Archives: maths-power

Given a string S consisting of N digits, the task is to print all possible combinations of the digits of the S that is a… Read More
Given a sorted array arr[] of the first N Natural Numbers and an integer X, the task is to print the last remaining element after… Read More
Given a string S of size N and containing digits in the range [0-9], the task is to print the count of all the unique… Read More
Given an array arr[] consisting of N integers, the task is to find the minimum number of operations required to make the array non-decreasing by… Read More
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
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