Memes vs. Social Media
In this era of modern technology social media is the most powerful weapon and the viral issue is the...
Preparing for War
There were N cities in England. Each contained a warrior with skillset equal to X. All the cities we...
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 ...
Scary Tree
Recently Alex has been learning about the tree data structure. And, he has been struggling to write ...
Hasinur's Mission!
Let me tell you something about Hasinur: He is a religious person. He prays 5 times a day. He loves...
Flow Finder
Last summer, Carla the Cartographer went on an expedition on behalf of the National Center for Posit...
DFS, Flow Moderate 8/12/88
Do You Know Tree ?
"Stay at least one metre distance from others.” Corona has affected the World as well as Bangladesh....
Lets Play Pipeline
In this problem you will have to solve a puzzle game named "Pipeline". 90's kids knows this game ver...
Help to Be Happy
A country named Mueawin has one or more villages and one or more people live in every village. Two p...
Simple And
You are given a tree containing $N$ nodes. The nodes are numbered from $1$ to $N$. The root node of ...
Sayadpur City
Bob wants to visit a new country called sayadpur. There are N cities (1,2,3,…,N) in sayadpur, and th...
Pretty Diabolical
TRAOMBINNAA is going to be Billy Butcher's base for the next season of the boys. He is going to buil...
XOR Tree
You are given a tree with N vertices. A tree is a connected undirected graph without cycles. The tre...
Change Queries
Today is a very special day for Rubel. Recently he got a job in a software company. Now today is the...
Cheap Tourist
The country of Byteland is divided into N provinces numbered from 1 to N. The provinces are connecte...
MangoSmash
Your friend has come to visit the RUET campus. As the Mango season goes on ⋯, he/she said “Mama Aam ...
MEXimum
Let’s get straight to the point. You are given a tree. In the tree, each node u has a number au​ ass...
Wizard Duel
Wizard Duel is approaching soon in Hogwarts and the students of the Dueling Club are absolutely thri...
Toph uses cookies. By continuing you agree to our Cookie Policy.