Skip to content

Tag Archives: large-numbers

Given a very large number N, the task is to find the factorial of the number using Log. Factorial of a non-negative integer is the… Read More
Given a large number in the form of a string N, the task is to check whether the number is divisible by 53 or not.… Read More
Given a large number N, the task is to divide this number into a product of two factors, using Fermat’s Factorisation method. Examples Input: N… Read More
Given a large number num in the form of string with length as N, the task is to find its digital root.  The digital root… Read More
Given a number K of length N, the task is to find the smallest possible number that can be formed from K of N digits… Read More
Given a large positive integer represented as a string str. The task is to round this number to the nearest multiple of 10.  Examples: Input:… Read More
Given a string str representing a large integer, the task is to find the result of N % 4.Examples:   Input: N = 81 Output: 1Input: N… Read More
Given a positive integer n, the task is to find the sum of the first n natural numbers given that n is very large (1… Read More
Given a very large number in the form of a string, the task is to check if the number is divisible by 75 or not.… Read More
Given a number, the task is to check if a number is divisible by 2, 3, and 5 or not. The input number may be… Read More
Given a number N, the task is to find the remainder when N is divided by R (a two-digit Number). The input of the Number… Read More
Given a very large Number N. The task is to check if the number can be divided into two or more segments of an equal… Read More
Given two numbers sa and sb represented as strings, find ab % MOD where MOD is 1e9 + 7. The numbers a and b can… Read More
Given an array of N elements. The task is to print the maximum number by concatenating every element in each rotation. In every rotation, the… Read More
Given two large numbers ‘a’ and ‘b’ such that(10^20<=a, b<=10^300). Find the LCM of two large numbers given. Examples: Input: a = 234516789234023485693020129 b =… Read More

Start Your Coding Journey Now!