Perplexity of Permutations
A permutation of N integers from 1 to N is an array where each number has appeared exactly once in t...
Khataraina is Back!
Last year we helped Adnan with his girlfriend Khataraina’s issue. This year she caused another troub...
LCM
Given an integer $L$, you have to find the product of two different integers such that their LCM (Le...
Day-Month-Year
Meena is a talented girl in her class. She likes to brainstorm in her leisure times. One day, she wa...
Morona Virus Arrived
"Cover your nose and mouth with a bent elbow or tissue when you sneeze or cough." World has defeated...
M-Sequence
A sequence is called M-sequence if after removing zero or more elements from the sequence the GCD of...
Permutations and Divisors
Let P be a permutation of length n where each value from 1 to n occurs exactly once. A subsequence o...
Justify the Invention !
You probably heard of Professor Meiokoyi, a talented scientist. Recently she invented a new solution...
United State of Koanhali
Koanhali is a strange country. The govt. of Koanhali maintain the marriages of this country. If you ...
Cook a Dish
Have you ever cooked something? No? Not a problem! Whenever you try to cook something, you need some...
Solve This Giveaway Problem First
This problem is straightforward and easy. You will be given two integers N, P and a list L of positi...
Bad Cook
Mr. Meme has recently moved to a foreign country named "Gloryland" for study purpose. There, he has ...
Vox Populi
Asfia's daughter just turned 5. She is looking for a school to get her admitted. Like every other pa...
Oishi Teacher and Her Naughty Class
Oishi teacher has returned to her class after the tiffin break. She noticed that some students who r...
An Act of Uniformly Random Kindness
After selling all the bitcoins that you bought back in 2010, you now find yourself with a huge amoun...
Is Bita Happy?
Bita has learned bitwise-operations recently. She is doing some experiments with these operations no...
Distribution of Relief
"Please follow all instructions provided by your local health authorities." Due to Coronovirus epide...
Perfect Points
Perfect lines are the lines y=mx+c such that m and c are positive integers. Perfect points are the p...
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...
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...
Diagonal Traversal
You are given an n×m grid. You can go from point (x1​,y1​) to any point (x2​,y2​) of grid if and onl...
The Matrix
In the metaphysical world of the Matrix, different people make their chessboards with their own spec...
Building Boundaries
Maarja wants to buy a rectangular piece of land and then construct three buildings on that land. The...
String Play
Milo has a string S of length L. Tutu picks a random prefix and Mota picks a random suffix of S. Now...
Oh Functions
Let’s define functions f and g as: f(x) = 2 * ( f(x-1) + g(x-1) - 1 ) * ( f(x-1) + g(x-1) - 3 ) + 12...
Toph uses cookies. By continuing you agree to our Cookie Policy.