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...
COVID-19 Outbreak
COVID-19 outbreak in Atlantis is so bad that the government is forced to lock down the whole country...
Traveling Policy of Ajobdesh
In Ajobdesh, there are multiple cities and one of them is considered as the capital city. Obviously,...
A Boring Game
Alice and Bob are playing a game with a tree with n nodes. Alice always plays first, and the two pla...
Keep Moving
Balurmath is a city which has N interesting tourist spots, which are connected between themselves by...
MEXimum
Let’s get straight to the point. You are given a tree. In the tree, each node u has a number au​ ass...
Tree Queries
You are given a tree of n vertices. Each vertex contains an integer. Vertex 1 is the root of the tre...
Concatenation of Perfect Squares
You are given a positive integer number. You have to determine whether this number can be represente...
Sayadpur City
Bob wants to visit a new country called sayadpur. There are N cities (1,2,3,…,N) in sayadpur, and th...
Sofdor Ali's Black and White Tree
Sofdor Ali loves Computer Science. He prefers hexadecimal number system to decimals, just because it...
Tahsin and Tree
Tahsin loves graph theory very much. He is especially fond of trees. For his upcoming birthday his f...
Road Minister Techboy
Techboy is appointed as the minister of roads and highway in his country Better-Not-Name-It. Now he ...
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
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 ...
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...
Milad's Lost Tree
Milad likes trees so much. He has a rooted tree with $n$ vertices each of which has some non-negativ...
Scary Tree
Recently Alex has been learning about the tree data structure. And, he has been struggling to write ...
Life Saving Algorithm
Recently flood has vastly affected some regions of the country. So many people are helpless and suff...
Memes vs. Social Media
In this era of modern technology social media is the most powerful weapon and the viral issue is the...
Change Queries
Today is a very special day for Rubel. Recently he got a job in a software company. Now today is the...
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...
Hasinur's Mission!
Let me tell you something about Hasinur: He is a religious person. He prays 5 times a day. He loves...
Help to Be Happy
A country named Mueawin has one or more villages and one or more people live in every village. Two p...
Toph uses cookies. By continuing you agree to our Cookie Policy.