## Generate number with given operation and check if it is palindrome

Given an integer N the task is to create a string out of it by repeating the number such that the length of the resultant… Read More »

## Program to check the number is Palindrome or not

Given an integer N, write a program that returns true if the given number is a palindrome, else return false. Examples: Input: N = 2002… Read More »

## Count of Numbers in Range where first digit is equal to last digit of the number

Given a range represented by two positive integers L and R. Find the count of numbers in the range where the first digit is equal… Read More »

## Check if the sum of distinct digits of two integers are equal

Given two integer m and n, the task is to find the sum of distinct digits of both the numbers and print YES if the… Read More »

## Integers from the range that are composed of a single distinct digit

Given two integer L and R representing a range [L, R], the task is to find the count of integers from the range that are… Read More »

## Sum of integers upto N with given unit digit

Given two integer N and D, the task is to find the sum of all the integers from 1 to N whose unit digit is… Read More »

## Minimum removals in a number to be divisible by 10 power raised to K

Given two positive integers N and K. Find the minimum number of digits that can be removed from the number N such that after removals… Read More »

## Check if the given decimal number has 0 and 1 digits only

Given an integer n, the task is to check whether n is in binary or not. Print true if n is the binary representation else… Read More »

## Largest number less than N with digit sum greater than the digit sum of N

Given an integer N, the task is to find the greatest number less than N such that the sum of its digits is greater than… Read More »

## Print numbers with digits 0 and 1 only such that their sum is N

Given a number N, the task is to find the required numbers consist of only 0 and 1 digit whose sum is equal to N.… Read More »

## Program to find first N Iccanobif Numbers

Given a number N. The task is to find first N Iccanobif Numbers. Iccanobif Numbers are similar to Fibonacci Numbers. The K-th Iccanobif number can… Read More »

## Add N digits to A such that it is divisible by B after each addition

Given three integers A, B and N, repeat the following process N times: Add a digit to A such that after adding it, A is… Read More »

## Nth number made up of odd digits only

Given an integer N, the task is to find the Nth number made up of odd digits (1, 3, 5, 7, 9) only. First few… Read More »

## Count Numbers with N digits which consists of even number of 0’s

Given a number N. The task is to find the count of numbers which have N digits and even number of zeroes. Note: The number… Read More »

## Count distinct pairs from two arrays having same sum of digits

Given two arrays arr1[] and arr2[]. The task is to find the total number of distinct pairs(formed by picking 1 element from arr1 and one… Read More »