Identify the Level
Amin and Belal are two friends. Both have good knowledge about graph and tree in data structure part...
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...
Yet Another XOR Problem
Given a rooted tree with N nodes where each node has a value, find a pair of nodes (u, v) so that u ...
A Boring Game
Alice and Bob are playing a game with a tree with n nodes. Alice always plays first, and the two pla...
Milad's Lost Tree
Milad likes trees so much. He has a rooted tree with $n$ vertices each of which has some non-negativ...
Tree Queries
You are given a tree of n vertices. Each vertex contains an integer. Vertex 1 is the root of the tre...
Life Saving Algorithm
Recently flood has vastly affected some regions of the country. So many people are helpless and suff...
Cheap Tourist
The country of Byteland is divided into N provinces numbered from 1 to N. The provinces are connecte...
MEXimum
Let’s get straight to the point. You are given a tree. In the tree, each node u has a number au​ ass...
Simple And
You are given a tree containing $N$ nodes. The nodes are numbered from $1$ to $N$. The root node of ...
Traveling Policy of Ajobdesh
In Ajobdesh, there are multiple cities and one of them is considered as the capital city. Obviously,...
Hasinur's Mission!
Let me tell you something about Hasinur: He is a religious person. He prays 5 times a day. He loves...
Do You Know Tree ?
"Stay at least one metre distance from others.” Corona has affected the World as well as Bangladesh....
Keep Moving
Balurmath is a city which has N interesting tourist spots, which are connected between themselves by...
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 53/68/260
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...
Explosion
There is a house named Larcana. It is a very weird house. There are exactly N rooms in total and bet...
Best Place to Arrange Contest
We are going to arrange the 7th CPU CSE programming contest in our department. But to arrange a cont...
Haunting of Herobrine
Herobrine's horror stories are known by many, but only a few dares to speak that name out loud, for ...
Wizard Duel
Wizard Duel is approaching soon in Hogwarts and the students of the Dueling Club are absolutely thri...
Sofdor Ali's Black and White Tree
Sofdor Ali loves Computer Science. He prefers hexadecimal number system to decimals, just because it...
Memes vs. Social Media
In this era of modern technology social media is the most powerful weapon and the viral issue is the...
XOR Tree
You are given a tree with N vertices. A tree is a connected undirected graph without cycles. The tre...
Circuit Breaker
In your free time, you like to design various electrical circuits to give a hard time to your local ...
Tasks
Zico is a fan of Artificial Intelligence (AI). So he is doing a course on AI and even likes the teac...
Toph uses cookies. By continuing you agree to our Cookie Policy.