MEXimum
Let’s get straight to the point. You are given a tree. In the tree, each node u has a number au​ ass...
MEX Revised
You are given an array (initially which is empty) and also given two types of operations: Given a ...
Complete Your Task
There are N girls in a class, having roll numbers from 1 to N. Each of them has some points Pi​ & a ...
Count the Co Prime Number
Wow, The statement is very clear, you are given an array A that contains N number of positive intege...
Ulta Masud
Mr. Masud is a superstitious executive of an administrative office in Wadia, and you have to bribe h...
Less Travel
Nishat loves traveling a lot. Currently she is in a newly independent country named NewKaly. She dec...
Prime Divisor on Tree Path
You are given a permutation of P numbers which are 1 to P and a tree with N nodes each node having a...
Next Smaller Element
You will be given a long array ar. The length of the array is n100 where n will be given. The first ...
Star
Faija loves to do art. She has a graph, which has n rows and m columns. She creates new art every da...
Bloom
"DALL·E 36FC" is a new AI system that can create realistic images and art from a description in natu...
Counting Substrings
You are given a string t, a prefix p, and a suffix s. You have to find the number of distinct substr...
Colded LCM
Chris Martin is challenged with another problem. This time our favorite violinist Lindsey Stirling a...
Tomar Mobile E Games Ache?
After a long and hectic Eid day you are finally relaxing. But then your 5 year old cousin comes and ...
Red Blue Graph
You are given a connected, undirected, unweighted graph. You need to assign one of the two colors Re...
Arghya Moderate 7/8/51
Make More Money
You, the great businessman of TEUB, arrived at ESC land which consists of N cities numbered from 1 t...
Yet Another Frog Jumping Problem
This is an interactive problem. (If you want to know about interactive problems, click here) There a...
Peculiar Partitioning
You are given an array a of length n. You need to find a sub-sequence S of the array such that gcd(s...
Anachor Moderate 8/17/57
Up You Go
Arya is taking part in a game of throwing marbles upwards. There are n participants in this game in ...
imAnik Moderate 8/14/79
Chop Chop
There is a convex polygon A of n vertices and you want to divide it into two convex polygons P and Q...
reborn Moderate 5/9/42
Choco Fun
You brought C chocolates to a party where there are A adults and K kids. You know that an adult will...
Shine on You Crazy Diamond
This problem is authored by one of our late friends, Sifat, who unexpectedly left us last year. He w...
Mix and Merge
You are given an array A of n elements and a constant k. You can perform the following operation on ...
reborn DP Moderate 5/19/83
Mental Change
Anjan was feeling low for nearly a couple of months. To improve his condition, he decided to track h...
Match Sticks
Bob was playing with match sticks and discovered that he could create alphabets and numbers by arran...
Multiverse Of Courier Service
Dr. Strange finally discovered a safe way to travel between parallel universes. By noticing people’s...
Toph uses cookies. By continuing you agree to our Cookie Policy.