Color The Graph

You are given an acyclic, bidirectional graph with NNN nodes and M edges. The nodes are numbered fro...

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...

Do You Know Tree ?

"Stay at least one metre distance from others.” Corona has affected the World as well as Bangla...

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 NNN vertices. A tree is a connected undirected graph without cycles. The t...