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... |
Multiverse Of Courier Service Dr. Strange finally discovered a safe way to travel between parallel universes. By noticing people’s... |
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. ... |