Circuit Breaker In your free time, you like to design various electrical circuits to give a hard time to your local ... |
XOR Tree You are given a tree with N vertices. A tree is a connected undirected graph without cycles. The tre... |
Memes vs. Social Media In this era of modern technology social media is the most powerful weapon and the viral issue is the... |
Sofdor Ali's Black and White Tree Sofdor Ali loves Computer Science. He prefers hexadecimal number system to decimals, just because it... |
Wizard Duel Wizard Duel is approaching soon in Hogwarts and the students of the Dueling Club are absolutely thri... |
Haunting of Herobrine Herobrine's horror stories are known by many, but only a few dares to speak that name out loud, for ... |
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... |
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... |
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 ... |
Keep Moving Balurmath is a city which has N interesting tourist spots, which are connected between themselves by... |
Do You Know Tree ? "Stay at least one metre distance from others.” Corona has affected the World as well as Bangladesh.... |
Hasinur's Mission! Let me tell you something about Hasinur: He is a religious person. He prays 5 times a day. He loves... |
Traveling Policy of Ajobdesh In Ajobdesh, there are multiple cities and one of them is considered as the capital city. Obviously,... |
Simple And You are given a tree containing $N$ nodes. The nodes are numbered from $1$ to $N$. The root node of ... |
MEXimum Let’s get straight to the point. You are given a tree. In the tree, each node u has a number au ass... |
Cheap Tourist The country of Byteland is divided into N provinces numbered from 1 to N. The provinces are connecte... |
Life Saving Algorithm Recently flood has vastly affected some regions of the country. So many people are helpless and suff... |
Tree Queries You are given a tree of n vertices. Each vertex contains an integer. Vertex 1 is the root of the tre... |
Milad's Lost Tree Milad likes trees so much. He has a rooted tree with $n$ vertices each of which has some non-negativ... |
A Boring Game Alice and Bob are playing a game with a tree with n nodes. Alice always plays first, and the two pla... |
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 ... |
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... |
Stephen, Bob, and Tomato's Canvas If Stephen Hawking was right, then there is a universe where Bob Ross is a student of Tomato Yoshi. ... |