Bored??

“Avoid touching your face, particularly your eyes, nose or mouth to prevent the virus from entering ...

Flow on Tree

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

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

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

C++ Vector Simulation

Array is an important data structure in computer science. It is also very important when it comes fo...

404 Setter Not Found! 😲

Given a 2D 4-connected grid. Each cell contains a value and an identifier. Values can be propagated ...

Wakanda Forever

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

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

The Archipelago of Mirpur

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

Poltu and Graph

Poltu has got a graph with N nodes and M edges. Every edge has a weight. There can be multiple edges...

Freezing Trees

We heard you like trees. But this problem has no relation to trees being frozen. :D You are given a ...

Team Forming

Ben is the instructor of a camp. He is forming several teams consisting of the students of the camp....

Metro Rail Blocks

The city of Dhaka is experiencing the construction of metro rails. Imagine one such metro rail spans...

Yet Another XOR Problem

Given a rooted tree with N nodes where each node has a value, find a pair of nodes (u, v) so that u ...

Change in Array

You will be given an array of length N. Then there will be Q queries. Each query will contain four i...

Help to Be Happy

A country named Mueawin has one or more villages and one or more people live in every village. Two p...