## Check if a large number is divisible by 2, 3 and 5 or not

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, 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… 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 »

Given two large numbers as strings, find if one is the power of another. For Example : Input : a = “374747”, b = “52627712618930723”… Read More »

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 »