Around the Square

You are given a square and there are four circles which are over...

GPA Calculator

Shibli is a very good student. He is very regular and attentive ...

Boltu vs Balti

Boltu and Balti are two friends. Boltu is a great programmer whe...

Circles in a Rectangle

Two circles are placed inside a rectangle. They do not intersect...

How Cow!

There is a cow in a village. She can eat as much grasses as she ...

Arithmetic Sequence (Easy)

Arithmetic Sequence is a sequence of numbers where the differenc...

An Arithmetic Problem

A sequence is an arithmetic sequence if every two successive num...

A Girl's Story

Meena (Bengali: মীনা) is a fictional character who stars in the ...

Power and Mod

Exponentiation is a mathematical operation, written as b n , inv...

Birthday Gift for SJ

Today is your best friend SJ’s birthday. You want to buy a birth...

Prisoners

Let me tell you a story of a dangerous prison. There were N pris...

Byang and The Grid Game

Byang has invented a game he wants to play with his soulmate Bya...

Sofdor Ali and the Puzzle of Weights

Sofdor Ali is one of the most famous scientists of Bangladesh. H...

Sofdor Ali and Histogram

The Great Sofdor Ali is now interested in competitive programmin...

Be Like Hasib

Hasib, the famous programmer, uses a little game when he teaches...

Recursive Function

A common example of recursion goes something like this: long lo...

Compute the Combination

Let P = C(N,0) - C(N,1) + C(N,2) - C(N,3) + … + C(N,N); where C(...

Playing With Your Mind

Given a non-negative integers N. You have to find an integer P s...

Recursive World!

See following the two recursive functions: C(0) = 0 C(1) = 5 C(...

Convex Hull Generator

You have to generate a convex polygon which has N points each ...

Bloodlust

Mr. X is a dangerous criminal. He likes to draw some geometric r...

Arunima City

After the big decentralization process, where Dhaka city’s popul...

Counting Is Difficult

East West University Computer Programming Club is organizing a p...

Arya and OR

Little Arya loves to play with numbers. She likes to play in dif...

Hexagonal Packing

Bees are very hard working insects and they are also very good a...

Alice and the Chessboard

It’s Sunday afternoon, and Alice is in her room trying to figure...

Old Magic!

You: Guess an integer number, but don’t tell me. Your friend: Ok...

Event Timing

Bob is making a new application for Android phones. Front-end of...

Divide Candy Again

There are N boxes with candies numbered from 1 to N. The number ...

Secret Meeting

The world is terrified by Pandas! After a miraculous chemical ex...

Koch Snowflakes

The Koch snowflake can be constructed by starting with an equila...

Oh Functions

Let’s define functions f and g as: f(x) = 2 * ( f(x-1) + g(x-1)...