Plant Trees, Save Life
There are n students in a school. Some of them are friends with each other. You want to make the sch...
Identify the Level
Amin and Belal are two friends. Both have good knowledge about graph and tree in data structure part...
MEXimum
Let’s get straight to the point. You are given a tree. In the tree, each node u has a number au​ ass...
Help to Be Happy
A country named Mueawin has one or more villages and one or more people live in every village. Two p...
Kingdom - Great Roads of Destiny
Shin wants to be the “Great General of the Heaven”. It is his dream. But becoming a “Great General o...
Life Saving Algorithm
Recently flood has vastly affected some regions of the country. So many people are helpless and suff...
Traveling Policy of Ajobdesh
In Ajobdesh, there are multiple cities and one of them is considered as the capital city. Obviously,...
Tahsin and Tree
Tahsin loves graph theory very much. He is especially fond of trees. For his upcoming birthday his f...
Concatenation of Perfect Squares
You are given a positive integer number. You have to determine whether this number can be represente...
Darth Vader and 3PO on a Tree!
Did you watch Star Wars yet? No? You should in your free time. Now back to Darth Vader and 3PO. Dart...
A Boring Game
Alice and Bob are playing a game with a tree with n nodes. Alice always plays first, and the two pla...
Tree Queries
You are given a tree of n vertices. Each vertex contains an integer. Vertex 1 is the root of the tre...
The Spy Cats
After Max and Alexis's initial plan to conquer the world with kitten armies failed, they started a n...
Circuit Breaker
In your free time, you like to design various electrical circuits to give a hard time to your local ...
Hasan the Treasure Hunter
Benjamin Gates the treasure hunter opened a coaching center named Khajna Dibo Na where he teaches hi...
Kingdom of Code
Kingdom CODE is the most peaceful place in the universe. King NOVOSH and Queen ALMIDA is ruling this...
Tasks
Zico is a fan of Artificial Intelligence (AI). So he is doing a course on AI and even likes the teac...
War in the Wizarding World
There is a deadly war going on between two countries (Bitland and Byteland) in the wizarding world. ...
Explosion
There is a house named Larcana. It is a very weird house. There are exactly N rooms in total and bet...
Bad XOR 2 (Hard)
So after successfully becoming many people's nightmare, XOR has struck again, this time to haunt you...
T5 Racing
It is high time for the annual T5 racing and your team is planning to win the race. In T5 racing the...
Zoba the Misleader
Zoba has 3 strings, named S1​, S2​ and S3​. He wanted to make a tough problem for Mihaf with these s...
Keep Moving
Balurmath is a city which has N interesting tourist spots, which are connected between themselves by...
Haunting of Herobrine
Herobrine's horror stories are known by many, but only a few dares to speak that name out loud, for ...
Gold Mines
The city of gridland is a grid with n rows and m columns. The city can be divided into n*m cells. A ...
DFS, Graph Moderate 50/64/250
Toph uses cookies. By continuing you agree to our Cookie Policy.