# Tag Archives: number-digits

Given two integers L and R, the task is to find the count of integers in the range [L, R] such that the frequency of… Read More
Given a positive integer N, the task is to check whether all the digits of the given integer N are the same or not. If… Read More
Given a positive integer N(at least contain two digits). The task is to write a Python program to add the first and last digit of… Read More
Given an array arr[] of size N representing digits from 0 to 9, the task is to count the number of distinct odd N-digit integers… Read More
Given a range from L to R and an integer K, the task is to count the number of integers in the given range such… Read More
Given a string S consisting of N digits and an integer K, the task is to count the number of ways to remove digits from… Read More
Given two positive integers P and Q, find the minimum integer containing only digits P and Q such that the sum of the digits of… Read More
Given a string str[] number N, the task is to calculate the number of ways to make the given number divisible by 3 by changing… Read More
Given a positive integer N, the task is to find the number of integers of N digits having even digits at odd indices and prime… Read More
Given a string S consisting of N digits, the task is to find the number of distinct Prime Numbers that can be formed using the… Read More
Given a range [L, R], the task is to find all the numbers from the range [L, R] whose digits are consecutive. Print all those… Read More
Given a positive integer N, the task is to count the number of N-digit numbers whose sum of digits is a prime number. Examples: Input:… Read More
Given a positive integer N, the task is to count the number of N-digit numbers such that the count of distinct odd and distinct even… Read More
Given a positive integer N, the task is to count the number of N-digit numbers such that every index (1-based indexing) in the number is… Read More
Given a string N and a digit X ([1, 9]), the task is to find the minimum integer number formed by inserting digit X anywhere… Read More