# Tag Archives: large-numbers

Given a non-negative number N in the form of string. The task is to apply at most one swap operation on the number N so… Read More
Given a number n, the task is to find the remainder when n is divided by 11. The input of number may be very large.… Read More
Given a very large number num (1 <= num <= 10^1000), print the number of digits that needs to be removed to make the number… Read More
Given a very large number. Check its divisibility by 15. Examples:  Input: 31 Output: No Input : num = "156457463274623847239840239 402394085458848462385346236 482374823647643742374523747 264723762374620" Output: Yes… Read More
Given a string of numbers and given another number (say m) [0 <= m <= 10^18]. The task is to calculate the modulus of the… Read More
Given a large number n, we need to check whether it is divisible by 37. Print true if it is divisible by 37 otherwise False.Examples: … Read More
Find if a given number, num is the power of 2 or not. More specifically, find if the given number can be expressed as 2^k… Read More
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
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
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
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 (ar… Read More
Given an odd number in the form of a string, the task is to make the largest even number from the given number, and you… Read More
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
Given a large number (represented as a string) which has to divide by another number (represented as int data type). The large number can be… Read More
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