Tag Archives: number-digits

Given an array arr[] consisting of N positive integers and a positive integer K, the task is to find the count of array elements whose… Read More
Given two strings S and T representing non-negative rational numbers, the task is to check if the values of S and T are equal or… Read More
Given a positive integer N, the task is to find the smallest integer greater than or equal to X, having all its digits divisible by… Read More
Given two positive integers A and C, the task is to check if a number B exists such that A + B = C and… Read More
Given a numberic string N (1 ≤ |N| ≤ 105) and another numeric string S (1 ≤ |S| ≤ 105), the task is to find… Read More
Given two integers N and K, the task is to rotate the digits of N by K. If K is a positive integer, left rotate… Read More
Given an array arr[] of size N and an integer K, the task is to find an array element which contains the digit K maximum… Read More
Given two positive integers N and D, the task is to decrement the value of N by at most D such that N contains the… Read More
Given three positive integers N, M and X, the task is to generate a number by appending X digits on the right side of N… Read More
Given three positive integers L, R and K, the task is to count the numbers in the range [L, R] whose product of digits is… Read More
Given an array arr[] and an integer K, the task is to find the array element from indices not divisible by K whose product of… Read More
Given an integer N, the task is to find the smallest number greater than or equal to N such that it is divisible by all… Read More
Given an integer N, the task is to count the number of even and odd binomial coefficients up to Nth power. Examples: Input: N =… Read More
Given two positive integers N and K, the task is to find the smallest number whose sum of digits is N and every distinct digit… Read More