Sofdor Ali's Magical Blackboard!
Sofdor Ali found interest in mathematics very early in his life. And now, he wants to spread this in...
Sofdor Ali and Radioactivity
Sofdor Ali is the craziest and clumsiest scientist in Bangladesh. He tries to maintain the safety me...
Are You Coding Me?
In the year 1992 AD, little Pranoti started to learn how to write. She already figured out that her ...
Recursive Function
A common example of recursion goes something like this: long long recur(int x){ if (x==0){ return X0...
Mr. Ant and His Problem
Mr. Ant has 3 boxes and the infinite number of marbles. Now he wants to know the number of ways he c...
Recursive World!
See following the two recursive functions: C(0) = 0 C(1) = 5 C(K) = C(K-1) + 4 F(0) = 1 F(1) = 2 F(N...
Two Friends
CodeMask and CodeNewtons are two friends. Today they are playing an interesting game. The game invol...
Version Checker
Java Development Kit (JDK) installer for Mac OS X has a bug: Can you spot it? Notice how Java is ch...
GCD and NOD
Given 3 numbers, G, A and B we have to find two numbers M and N such that they satisfy the following...
Shopping
There are two gift shops in the city. They are going to merge together to create a bigger company. Y...
Positive Area Triangles
Given a grid with length X and height Y, we can select any lattice point ( lattice point = integer c...
Bloodlust
Mr. X is a dangerous criminal. He likes to draw some geometric random stuff and get motivated for hi...
Prisoners of Musabad
In the city of Musabad, criminals are punished heavily. Once an enemy is caught, he is kept in the j...
Pakna And His Polygon
Pakna in a wise man. He loves solving problems but always end up with more problems. This is obvious...
Simple Operation
Mr. X is a school teacher. He teaches C programming to the students. In every class, he gives some s...
Arya’s Counting
Little Arya has learnt to count the highest and the lowest number recently. She can easily find out ...
Around the Square
You are given a square and there are four circles which are overlapping the square. The center of ea...
Mysterious Sum
Sohel vai reads newspaper every morning. The newspaper he reads contains some good features includin...
An Interesting Game
Stackmatch is a very popular game of Matland. In this game, they uses C types of coins and a stack. ...
Hexo The Tree Planter
Hexo has a large field. The field can be modeled as a 1 x N grid. Some parts of the field have trees...
Consistent Hashing
In modern software development, hashing is an important concept. It involves generating unique integ...
Easy Summation
Little Arya is growing up fast and now she can count the numbers. The problem with her counting is t...
Pythagoras Rocks
A Pythagorean triple consists of three positive integers a, b, and c, such that a2+b2=c2. The Pythag...
Arithmetic Sequence (Easy)
Arithmetic Sequence is a sequence of numbers where the difference between two consecutive numbers ar...
Dominoes Forever
Once when I was little, my father took me to a tobacco shop! It is surprising, but true. He asked th...
Toph uses cookies. By continuing you agree to our Cookie Policy.