## Count of integers in a range which have even number of odd digits and odd number of even digits

Given a range [L, R], the task is to count the numbers which have even number of odd digits and odd number of even digits.… Read More »

- Nth number whose sum of digit is multiple of 10
- Program to find the last two digits of x^y
- Find the sum of digits of a number at even and odd places
- Append a digit in the end to make the number equal to the length of the remaining string
- Program to calculate product of digits of a number
- Find the longest subsequence of an array having LCM at most K
- Check if product of digits of a number at even and odd places is equal
- Longest subarray such that adjacent elements have at least one common digit | Set - 2
- Find the maximum sum of digits of the product of two numbers
- Maximum number formed from array with K number of adjacent swaps allowed
- Round the given number to nearest multiple of 10 | Set-2
- Sum of two numbers where one number is represented as array of digits
- Reduce number to a single digit by subtracting adjacent digits repeatedly
- Nearest greater number by interchanging the digits
- Check if two numbers have same number of digits
- Count of integers in a range which have even number of odd digits and odd number of even digits
- Find the count of numbers that can be formed using digits 3, 4 only and having length at max N.
- Count the number of digits of palindrome numbers in an array
- Find the smallest positive number which can not be represented by given digits
- Numbers in a Range with given Digital Root
- Count the nodes in the given tree whose sum of digits of weight is odd
- Maximum number that can be display on Seven Segment Display using N segments
- Largest and smallest digit of a number
- Greatest number less than equal to B that can be formed from the digits of A
- Third last digit in 5^N for given N
- Find the remainder when First digit of a number is divided by its Last digit
- Count the number of occurrences of a particular digit in a number

Given a range [L, R], the task is to count the numbers which have even number of odd digits and odd number of even digits.… Read More »

Given a number N, the task is to reduce it to a single-digit number by repeatedly subtracting the adjacent digits. That is, in the first… Read More »

Given a number N, find the remainder when the first digit of N is divided by its last digit. Examples: Input: N = 1234 Output:… Read More »

Given a number N and a digit D, the task is to count the occurrences of D in N. Examples: Input: N = 25, D… Read More »

Given an array arr[] of size 10 where arr[i] represents the frequency of the digit i. The task is to find the smallest positive number… Read More »

Given an array arr[] of size N( > 2). The task is to find the maximum sum of digits of the product of any two… Read More »

The task is to find the last two digits of x^y. Since the digits with which it can end are 0-9, Hence this problem can… Read More »

Given a large positive integer represented as a string str. The task is to round this number to the nearest multiple of 10. Examples: Input:… Read More »

Given two integers A and B. The task is to find the nearest greater value to B by interchanging the digits of A. If no… Read More »

Given a string str in which an integer is appended in the end (with or without leading zeroes). The task is to find a single… Read More »

Given a number N. The task is to find the largest and the smallest digit of the number. Examples : Input : N = 2346… Read More »

Given an array a[ ] and the number of adjacent swap operations allowed are K. The task is to find the max number that can… Read More »

Content Removed My Personal Notes arrow_drop_up Save

Given two integers A and B, the task is to check whether both the numbers have equal number of digits. Examples: Input: A = 12,… Read More »

Given an array arr[] with N integers. The task is to count all the digits of all palindrome numbers present in the array. Examples: Input:… Read More »