##
Check if a large number is divisible by 4 or not
March 22, 2017

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

March 22, 2017

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

March 19, 2017

Given a number, the task is that we divide number by 3. The input number may be large and it may not be possible to… Read More »

March 18, 2017

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

March 9, 2017

A Seed of a number n is a number x such that multiplication of x with its digits is equal to n. The task is… Read More »

February 23, 2017

Given a limit N, we need to find out the count of binary digit numbers which are smaller than N. Binary digit numbers are those… Read More »

February 15, 2017

Given two positive numbers calculate the minimum and maximum possible sums of two numbers. We are allowed to replace digit 5 with digit 6 and… Read More »

January 27, 2017

Given a number (as string) and two integers a and b, divide the string in two non-empty parts such that the first part is divisible… Read More »

January 22, 2017

A Seven Segment Display can be used to to display numbers. Given an array of n natural numbers. The task is to find the number… Read More »

January 17, 2017

There are some natural number whose all permutation is greater than or equal to that number eg. 123, whose all the permutation (123, 231, 321)… Read More »

January 5, 2017

Given an interval, the task is to count numbers which have same first and last digits. For example, 1231 has same first and last digits.… Read More »

December 24, 2016

Given a range L to R, the task is to find the highest occurring digit in prime numbers lie between L and R (both inclusive).… Read More »

December 22, 2016

Find all numbers less than n, which are palindromic. Numbers can be printed in any order. Examples: Input : n = 12 Output : 1,… Read More »

December 19, 2016

Given an array of digits (values are from 0 to 9), find the minimum possible sum of two numbers formed from digits of the array.… Read More »

December 6, 2016

Given a number N which may be 10^5 digits long, the task is to count all the digits in N which divide N. Divisibility by… Read More »

November 19, 2016

An integer number in base 10 which is divisible by sum of it digits is said to be a Harshad Number. An n-harshad number is… Read More »