## Find largest sum of digits in all divisors of n

Given a integer number n, find largest sum of digits in all divisors of n. Examples : Input : n = 12 Output : 6… Read More »

## Find the number of consecutive zero at the end after multiplying n numbers

Given an array with n numbers. The task is to print number of consecutive zero’s at the end after multiplying all the n number. Examples… Read More »

## First occurrence of a digit in a given fraction

Given three integers a, b and c, find the first occurrence of c in a/b after the decimal point. If it does not exists, print… Read More »

## Sum of digit of a number using recursion

Given a number, we need to find sum of its digits using recursion. Examples: Input : 12345 Output : 15 Input : 45632 Output :20… Read More »

## Form the largest palindromic number using atmost two swaps

Given a non-negative palindromic number num containing n number of digits. The problem is to apply at most two swap operations on the number num… Read More »

## Count numbers with unit digit k in given range

Here given a range from low to high and given a number k.You have to find out the number of count which a number has… Read More »

## Find first and last digits of a number

Given a number and to find first and last digit of a number. Examples: Input : 12345 Output : First digit: 1 last digit :… Read More »

## Narcissistic number

Given N, check whether it is a Narcissistic number or not. Note:Narcissistic Number is a number that is the sum of its own digits each… Read More »

## Number of n digit stepping numbers

Given n, find count of n digit Stepping numbers. A number is called stepping number if all adjacent digits have an absolute difference of 1.… Read More »

## Deserium Number

Deserium Number: A number is said to be Deserium number if the sum of the digits of a number with respect to the power of… Read More »

## Special two digit number

A special two-digit number is a number such that when the sum of the digits of the number is added to the product of its… Read More »

## Convert to number with digits as 3 and 8 only

A charming number is a number which only consist 3 and 8 as its digits. We are given a n-digit number you have total of… Read More »

## Find a Number X whose sum with its digits is equal to N

Given a positive number N. We need to find number(s) such that sum of digits of those numbers to themselves is equal to N. If… Read More »

## Count different numbers that can be generated such that there digits sum is equal to ‘n’

Given an positive integer n. Count the different numbers that can be generated using digits 1, 2, 3 and 4 such that digits sum is… Read More »

## Largest number with one swap allowed

Given a positive integer, find the largest number that could be generated by swapping only two digits at most once. Examples: Input: 2736 Output :… Read More »