Red and Green
Suppose, there is an array of N integers. Each index of the array is either red or green. The first ...
Game of Palindromes
In a popular computer game, Game of Palindromes also known as GOP there is a city called Palindesh. ...
Boys in the Assembly
N boys are standing in the assembly. There is a single line only. Boys are denoted by their roll num...
Cook a Dish
Have you ever cooked something? No? Not a problem! Whenever you try to cook something, you need some...
Raem's Square
Raem is an eight years old boy. One day his family was visiting Dhaka Shishu Park near Shahbag. Besi...
Game Show
Alex is participating in a game show. Mr. Phil is the host of the game. Alex is provided with an arr...
Boltu vs Balti
Boltu and Balti are two friends. Boltu is a great programmer whereas Balti is a newbie programmer. B...
String Play
Milo has a string S of length L. Tutu picks a random prefix and Mota picks a random suffix of S. Now...
Absolute Value
You will be given an integer x. The absolute value of x will be within 100. You have to add 1 to x's...
Mr Max Count Sum
Mr Max , Mr Sum and Mr Count are three neighbours. They have a common enemy, an old man living in th...
K-th DuoPalindrome
Alice likes playing with Palindromes (strings that read the same backward as forward, such as 'madam...
Chance of Passing the Quiz
Rocky is starting his online quizzes and he has been provided with some passing criteria. The rule o...
A Girl's Story
Meena (Bengali: মীনা) is a fictional character who stars in the South Asian children's television sh...
I Hate Combinatorics!
Rick and Morty are being hunted by the galactic government. They ran away to the cell dimension. The...
Most Difficult Problem Ever
You are given a function like below: long long F(int A, int B, int C, long long x) { long long res =...
Many Paths, Many Costs
Alice and Bob are visiting Byteland. They are observing the map of this country. Surprisingly, the m...
ML Vs AI
Nowadays, CS students try to learn Machine Learning and Artificial Intelligence even before learning...
Secret Meeting
The world is terrified by Pandas! After a miraculous chemical explosion, they became smarter; and ev...
Circle and Square
Meena and Raju are learning about different shapes. Meena's favourite shape is Circle while Raju lik...
Meena Meets The Marauders
December 14, 1975 Hogwarts School of Witchcraft and Wizardry It’s been a long long day. The Marauder...
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...
Easy Peasy Subset Sum
Little Oishee loves to watch TV. But her mother, who is a math teacher, doesn't like this at all. Sh...
Arko and Special Permutations
Arko is very fond of permutations. He can easily calculate the number of n length permutations. (In ...
Meeting Table
Let there be three groups of people waiting to attend a meeting. There are $\textbf N$ people in eac...
Calculate the Sum If You Can
This problem deals with the following expression: 1−2+1−2+1−2+1−2+1−2+1−2+1−2+... Given n, you have ...
Toph uses cookies. By continuing you agree to our Cookie Policy.