Do You Know Tree ?
"Stay at least one metre distance from others.” Corona has affected the World as well as Bangladesh....
Explosion
There is a house named Larcana. It is a very weird house. There are exactly N rooms in total and bet...
Productive Employees
Congratulations on becoming the new boss of "Horizontal Company, branch: Sylhet"! But now you have a...
Police Stations
Recently the government of country S is going to construct some police stations(possibly zero) in so...
Hide and Seek
You know how to play hide-and-seek, right? In a group of kids, one of them is selected to be the see...
Color The Graph
You are given an acyclic, bidirectional graph with N nodes and M edges. The nodes are numbered from ...
Race in DomKi
There is a kingdom called DomKi. DomKi has N city and N-1 two-way road. Each city is numbered with 1...
XOR Tree
You are given a tree with N vertices. A tree is a connected undirected graph without cycles. The tre...
Subtree MEX
You will be given a balanced binary tree of N nodes. Each of the nodes of the tree will contain a no...
Toph uses cookies. By continuing you agree to our Cookie Policy.