## Squares of numbers with repeated single digits | Set 1 (3, 6 and 9)

Given a number made of single digits, find its square. It may be assumed that the single digits are 3, 6 and 9. Numbers can… Read More »

- Modular Exponentiation (Power in Modular Arithmetic)
- Add two numbers represented by linked lists | Set 2
- Multiply Large Numbers represented as Strings
- Compute nCr % p | Set 1 (Introduction and Dynamic Programming Solution)
- BigInteger Class in Java
- Compute nCr % p | Set 2 (Lucas Theorem)
- Sum of two large numbers
- What is the maximum possible value of an integer in Python ?
- GCD of two numbers when one of them can be very large
- Writing power function for large numbers
- Compute n! under modulo p
- Difference of two large numbers
- Subtract Two Numbers represented as Linked Lists
- Divide large number represented as string
- Find Last Digit of a^b for Large Numbers
- Largest even number possible by using one swap operation in given number
- Program to find last digit of n'th Fibonnaci Number
- How to compute mod of a big number?
- Multiply large integers under large modulo
- Given a HUGE number check if it's a power of two.
- Check if a large number is divisible by 11 or not
- Check if a large number is divisible by 4 or not
- How to avoid overflow in modular multiplication?
- Given a large number, check if a subsequence of digits is divisible by 8
- Sort an array of large numbers
- Add two numbers represented by two arrays
- Check if a large number is divisible by 3 or not
- Large Fibonacci Numbers in Java
- Find (a^b)%m where 'a' is very large
- Sorting Big Integers

Given a number made of single digits, find its square. It may be assumed that the single digits are 3, 6 and 9. Numbers can… Read More »

Consider a very long K-digit number N with digits d0, d1, …, dK-1 (in decimal notation; d0 is the most significant and dK-1 the least… Read More »

Given two very large numbers in form of strings. Your task is to apply different arithmetic operations on these strings. Prerequisite : Doubly Linked List.… Read More »

Given two integers N and X. Make a number in such a way that the number contains the first and last digit occurring in .… Read More »

Given a big positive number N. The task is divide N into two number ‘A’ and ‘B’ such that difference between them is K (1… Read More »

We have given two numbers x and n which are base and exponent respectively. Write a function to compute x^n where 1 <= x, n… Read More »

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

Given a large Number the task is to check the number is divisible by 12 or not . Examples : Input : 12244824607284961224 Output :… Read More »

Given two array A[0….n-1] and B[0….m-1] of size n and m respectively, representing two numbers such that every element of arrays represent a digit. For… Read More »

Given a very large number N, we need to count the total ways such that if we divide the number into two parts a and… Read More »

The program is to find a mathematical series, where we need to accept the value of n and m. n is the base number and… Read More »

Given a large number, the task is to check if number is divisible by 13 or not. Examples : Input : 637 Output : 637… Read More »

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 »

Given a number of at most 100 digits. We have to check if it is possible, after removing certain digits, to obtain a number of… Read More »

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 »