## Sum of all N digit palindrome numbers

Given a number N. The task is to find the sum of all N digit palindromes. Examples: Input: N = 2 Output: 495 Explanation: 11… Read More »

## Minimum operations to make two numbers equal

Given two numbers n and m, the task is to find the minimum number of operations required to make them equal if the following operations… Read More »

## Remove two consecutive integers from 1 to N to make sum equal to S

Given a sum S and an integer N, The task is to remove two consecutive integers from 1 to N to make sum equal to… Read More »

## Find two Composite Numbers such that there difference is N

Given a number N, the task is to find two composite numbers X and Y, such that difference between them is equal to N. Note… Read More »

## Check if the sum of digits of N is palindrome

Given an integer N, the task is to check whether the sum of digits of N is palindrome or not. Example: Input: N = 56… Read More »

## Find all the possible remainders when N is divided by all positive integers from 1 to N+1

Given a large integer N, the task is to find all the possible remainders when N is divided by all the positive integers from 1… Read More »

## Check if a given number is factorial of any number

Given a number n, the task is to determine whether n can be a factorial of some number x Examples: Input: N = 24 Output:… Read More »

## Compare numbers represented by Linked Lists

Given the pointers to the head nodes of two linked lists. The task is to compare the numbers represented by the linked lists. The numbers… Read More »

## Check the divisibility of Hexadecimal numbers

Given a string S consisting of a large hexadecimal number, the task is to check its divisibility by a given decimal number M. If divisible… Read More »

## Program to toggle K-th bit of a number N

Given a number N, the task is to clear the K-th bit of this number N. If K-th bit is 0, then set it to… Read More »

## Program to clear K-th bit of a number N

Given a number N, the task is to clear the K-th bit of this number N. If K-th bit is 1, then clear it to… Read More »

## Minimum number of moves to reach N starting from (1, 1)

Given an integer N and an infinite table where ith row and jth column contains the value i *j. The task is to find the… Read More »

## Check whether the given floating point number is a palindrome

Given a floating point number N, the task is to check whether it is palindrome or not. Input: N = 123.321 Output: Yes Input: N… Read More »

## Check whether the given integers a, b, c and d are in proportion

Given four integers a, b, c and d. The task is to check whether it is possible to pair them up such that they are… Read More »

## Find the previous fibonacci number

Given a Fibonacci number N, the task is to find the previous Fibonacci number. Examples: Input: N = 8 Output: 5 5 is the previous… Read More »