Skip to content

Tag Archives: large-numbers

Given a large positive number as string, count all rotations of the given number which are divisible by 4.  Examples:  Input: 8 Output: 1 Input:… Read More
Given an array arr[] of strings representing large numbers and an integer K, the task is to find Kth largest integer in given array. Examples: … Read More
Given two numbers represented by two linked lists, write a function that returns the sum list. The sum list is linked list representation of the… Read More
Given two numbers represented by two linked lists, write a function that returns the sum list. The sum list is linked list representation of the… Read More
Given two numbers represented by two linked lists, write a function that returns the sum list. The sum list is linked list representation of the… Read More
Given two numbers represented by two linked lists, write a function that returns the sum list. The sum list is linked list representation of the… Read More
Given two numeric strings A and B, the task is to find the product of the two numeric strings efficiently. Example: Input: A = 5678,… Read More
Given two large integers in form of strings A and B and their product also in form of string C such that one digit of… Read More
Given a positive integer N, the task is to determine the maximum possible integer that can be formed by performing the following operations on the… Read More
In this article, we will discuss the unsigned long long int data type in C++. It is the largest (64 bit) integer data type in… Read More
Given a numeric string S, the task is to find the maximum length of a subsequence having its left rotation equal to its right rotation.… Read More
Given an integer N in form of string str consisting of more than 100 digits, the task is to store the value for performing an… Read More
Given a large number in the form of a string str and a number K, the task is to check if the number formed by… Read More
The security of the RSA algorithm is based on the difficulty of factorizing very large numbers. The setup of an RSA cryptosystem involves the generation… Read More
Given a very large number N in the form of a string and a number K, the task is to print all the K-digit repeating… Read More

Start Your Coding Journey Now!