Change Queries

Today is a very special day for Rubel. Recently he got a job in a software company. Now today is the...

Kingdom - Great Roads of Destiny

Shin wants to be the “Great General of the Heaven”. It is his dream. But becoming a “Great General o...

Tree Queries

You are given a tree of n vertices. Each vertex contains an integer. Vertex 1 is the root of the tre...

T5 Racing

It is high time for the annual T5 racing and your team is planning to win the race. In T5 racing the...

Identify the Level

Amin and Belal are two friends. Both have good knowledge about graph and tree in data structure part...

Life Saving Algorithm

Recently flood has vastly affected some regions of the country. So many people are helpless and suff...

Traveling Policy of Ajobdesh

In Ajobdesh, there are multiple cities and one of them is considered as the capital city. Obviously,...

Tahsin and Tree

Tahsin loves graph theory very much. He is specialy fond of trees. For his upcoming birthday his fri...

Explosion

There is a house named Larcana. It is a very weird house .There are exactly N rooms in total and bet...

Bad XOR 2 (Hard)

So after successfully becoming many people's nightmare, XOR has struck again, this time to haunt you...

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

A Boring Game

Alice and Bob are playing a game with a tree with n nodes. Alice always plays first, and the two pla...

The Spy Cats

After Max and Alexis's initial plan to conquer the world with kitten armies failed, they started a n...

Circuit Breaker

In your free time, you like to design various electrical circuits to give a hard time to your local ...

Hasan the Treasure Hunter

Benjamin Gates the treasure hunter opened a coaching center named Khajna Dibo Na where he teaches hi...

Kingdom of Code

Kingdom CODE is the most peaceful place in the universe. King NOVOSH and Queen ALMIDA is ruling this...

Tasks

Zico is a fan of Artificial Intelligence (AI). So he is doing a course on AI and even likes the teac...

War in the Wizarding World

There is a deadly war going on between two countries (Bitland and Byteland) in the wizarding world. ...

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

Zoba the Misleader

Zoba has 3 strings, named S1, S2 and S3. He wanted to make a tough problem for Mihaf with these stri...

Keep Moving

Balurmath is a city which has N interesting tourist spots, which are connected between themselves by...

Haunting of Herobrine

Herobrine's horror stories are known by many, but only a few dares to speak that name out loud, for ...

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

DFS, Graph Moderate 48/62/247

Road Minister Techboy

Techboy is appointed as the minister of roads and highway in his country Better-Not-Name-It. Now he ...

Sofdor Ali's Black and White Tree

Sofdor Ali loves Computer Science. He prefers hexadecimal number system to decimals, just because it...

Toph uses cookies. By continuing you agree to our Cookie Policy.