Reverse The Magic

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

Ghosh vs Datta

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

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

War in the Wizarding World

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

Traveling Policy of Ajobdesh

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

Bad XOR 2 (Hard)

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

Zer VS EEE

Zer is a programmer who has a friend named Nir. Nir always shows off how great EEE is. One day Nir c...

Fortis Fortuna Adiuvat

Your very close friend, John, also known as the Baba Yaga, is often on various missions to complete ...

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

Birthday Gifts

Today is Luke’s birthday. Mr. Phil Dunphy (Luke’s father) has thrown a birthday party for him and de...

Playing On A Directed Graph

You are given a directed graph consisting of n vertices and m edges (each edge is directed, so it ca...

Sofdor Ali's Black and White Tree

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

Flyover in Twinland

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

Scarlet Speedster

The scarlet speedster of Central City, popularly known as the Flash is fighting an epic battle again...

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

Wakanda Forever

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

Chow, Mo

Mo, the jumper has found an extraordinary tree in the woods. He absolutely loves it. He already has ...

Keep Moving

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

The Archipelago of Mirpur

The archipelago of Mirpur consists of N islands. The famous architect PogPog was hired to connect al...