##
9’s complement of a decimal number
October 18, 2017

9’s complement of a decimal number is the subtraction of it’s each digits from 9. Like 1’s complement, 9’s complement is used to subtract a… Read More »

October 18, 2017

9’s complement of a decimal number is the subtraction of it’s each digits from 9. Like 1’s complement, 9’s complement is used to subtract a… Read More »

October 15, 2017

Given a large number in string format and we are also given two numbers f and s. We need to divide the large number into… Read More »

October 2, 2017

The problem is to check whether the decimal representation of the given binary number is divisible by 10 or not. Take care, the number could… Read More »

October 1, 2017

You are given an n-digit large number, you have to check whether it is divisible by 7. A (r+1)-digit integer n whose digital form is… Read More »

July 28, 2017

Given an odd number in the form of string, the task is to make largest even number from the given number and you are allowed… Read More »

June 26, 2017

You are given an n-digit large number, you have to check whether it is divisible by 999 without dividing or finding modulo of number by… Read More »

June 22, 2017

Given a large number (represented as string) which has to divided by another number (represented as int data type). The large number can be very… Read More »

June 12, 2017

Given a number n, write code to find the sum of digits in the factorial of the number. Given n <= 5000 Examples: Input :… Read More »

June 7, 2017

The problem is to check whether the decimal representation of the given binary number is divisible by 5 or not. Take care, the number could… Read More »

May 21, 2017

Given a number, the task is to check if number is divisible by 25. The input number may be large and it may not be… Read More »

Given a number, the task is to check if a number is divisible by 16 or not. The input number may be large and it… Read More »

May 11, 2017

Given an integer n and its base b. The task is to check if given number is Pandigital Number in the given base or not.… Read More »

May 5, 2017

Given a number n, find n-th Fibonacci Number. Note that n may be large. Examples: Input : 100 Output : 218922995834555169026 Input : 500 Output… Read More »

May 1, 2017

Given an integer a, b, m. Find (a * b ) mod m, where a, b may be large and their direct multiplication may cause… Read More »

April 27, 2017

The digital root of a positive integer is found by summing the digits of the integer. If the resulting value is a single digit then… Read More »