Game of Gnomes
The enemy and their massive army is approaching your fortress, and all you have to defend it is a le...
Incremental Induction
The Nordic Collegiate Pong Championship (NCPC) is an insanely competive tournament where every conte...
Color The Graph
You are given an acyclic, bidirectional graph with N nodes and M edges. The nodes are numbered from ...
Challenge From Mr. Professor
One Day Mr. Professor was taking His schedule class on Discrete Mathematics. In this lecture, He was...
Game Show
Alex is participating in a game show. Mr. Phil is the host of the game. Alex is provided with an arr...
Chance of Passing the Quiz
Rocky is starting his online quizzes and he has been provided with some passing criteria. The rule o...
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...
Expected Values From Bubble Sort
Bubble sort is a sorting algorithm that can sort an array of numbers in increasing order. In each of...
Walk on the Grid
There is a grid of size $R\times C$ where $R = $ Number of rows and $C = $ Number of columns. You sh...
Bi-Element Subsequence
You are participating in a game show. In the final round, the host pulls up a large sequence of posi...
Counting Matrices
Given a natural number N and a prime p, let’s define a special set Zp​={0,1,2,…,p−1}. Now count the ...
Pudding and Coins
Pudding is playing a game that has n levels. There are a total of n(n+1)/2 coins spread out among th...
GCD, Divisor, Count!
I like short statements and you should too so here's the statement without further ado You are give...
Predict The Frequency
Luis was sleeping. He suddenly woke up with three positive integers N, M and X. He told his younger ...
Sofdor Ali and Radioactivity
Sofdor Ali is the craziest and clumsiest scientist in Bangladesh. He tries to maintain the safety me...
Magician's Offer!
Rosi Vidmun is a greedy landlord who likes to grab as much land as he can. Currently he has P square...
The Game Is Back On
Moriarty is bored again. When he gets bored, the only thing he wants to do is play with Sherlock. So...
Little T2 and Dead Cats
The planet earth has become peaceful again because all the cats are dead. An evil robot named Xorged...
This Is Too Hard ☹
Many many years ago there was a small country. And all the people there were very weird. They liked ...
Mag the Mighty Kaidul
The winter is about to come. Mag the Mighty Kaidul is waiting for it for days. It is his favorite se...
Game of Palindromes
In a popular computer game, Game of Palindromes also known as GOP there is a city called Palindesh. ...
String Factory
Welcome to the string factory where strings are generated in a peculiar manner. You are given a stri...
Toph uses cookies. By continuing you agree to our Cookie Policy.