# Graph Problems

#### Traveling Policy of Ajobdesh

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

#### Sofdor Ali's Black and White Tree

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

#### How Many Ways?

Regular problem solvers starts their journey by solving ad hoc and number theory. After getting the ...

#### Kingdom of Code

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

#### Flow on Tree

Mr. Kaboom has recently learned about maximum flow. Now his friend Mr. Taboom gave him this problem....

#### Scary Tree

Recently Alex has been learning about “Tree” data structure. While he was learning, a question popp...

#### Spanning Tree

There are N nodes in a tree. You can start from any node of that tree and you have to come back to t...

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

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

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

#### Act of Random Kindness (Hard)

Sammy and Meera liked adventures a lot. Once in a while they used to set out adventures. This time t...

#### Flyover in Twinland

Rio has become the president of Twinland. Now he wants to develop his country to fulfill his promise...

#### Ghosh vs Datta

About two hundred years ago, a serious dispute evoked between the two neighboring colonies of Khulna...

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

#### Keep Moving

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

#### Village Fair 2

There are N houses in a village far away from here. They are numbered from 1 to N. For this problem ...

#### Circuit Breaker

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

#### War in the Wizarding World

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

#### A Boring Game

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

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

#### Christmas Tree

Professor Rio has an amazing Christmas tree. Unlike other trees, this Christmas tree has some specia...

#### Reverse The Magic

You are probably familiar with the technique of representing a Tree as an array of integers using Eu...

#### Big Bang Theory

Dr. Sheldon Cooper is working on a project that works on the 2D concept of the universe. In this pro...

#### The Spy Cats

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

#### Meena Meets The Marauders

December 14, 1975 Hogwarts School of Witchcraft and Wizardry It’s been a long long day. The Maraud...

#### City of Atlantis

Have you ever heard of The Atlantis City? It’s a Greek mythological city. Its existence doesn’t matt...

#### Explosion

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

#### Wakanda Forever

We all know that Thanos has erased half of the population of the universe. Earth’s population was al...

#### T5 Racing

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

#### Gujob

You probably heard the name of ‘Kababdesh’, where people are very fond of kababs. Everyone live ther...

#### Rik, the Space Traveler

Mr. Rik is a famous space traveler. He lives in a galaxy named Victa. There are many planets in this...

#### Seven Kingdoms!

The dragon queen just conquered the Seven Kingdoms. Initially there are N cities in “Seven Kingdoms”...