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...
Graph Moderate 80/86/125
Prime Avoider
Mr. X is a friend of Hafiz bhai. Mr. X loves to play with numbers in his leisure but he hates prime ...
Hasan the Treasure Hunter
Benjamin Gates the treasure hunter opened a coaching center named Khajna Dibo Na where he teaches hi...
Reverse The Magic
You are probably familiar with the technique of representing a Tree as an array of integers using Eu...
Scarlet Speedster
The scarlet speedster of Central City, popularly known as the Flash is fighting an epic battle again...
Meena Meets The Marauders
December 14, 1975 Hogwarts School of Witchcraft and Wizardry It’s been a long long day. The Marauder...
Elementary Math
Ellen is teaching elementary math to her students and the time for the final exam has come. The exam...
Wakanda Forever
We all know that Thanos has erased half of the population of the universe. Earth’s population was al...
Best Place to Arrange Contest
We are going to arrange the 7th CPU CSE programming contest in our department. But to arrange a cont...
Gujob
You probably heard the name of 'Kababdesh', where people are very fond of kababs. Everyone live ther...
Tree Queries
You are given a tree of n vertices. Each vertex contains an integer. Vertex 1 is the root of the tre...
Seven Kingdoms!
The dragon queen just conquered the Seven Kingdoms. Initially there are N cities in "Seven Kingdoms"...
Road Minister Techboy
Techboy is appointed as the minister of roads and highway in his country Better-Not-Name-It. Now he ...
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...
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...
Zoba the Misleader
Zoba has 3 strings, named S1​, S2​ and S3​. He wanted to make a tough problem for Mihaf with these s...
Ada in Dreamland
Ada is wondering in her dreamland. Her dreamland consists of n spots. She has this weird machine wit...
Bad XOR 2 (Hard)
So after successfully becoming many people's nightmare, XOR has struck again, this time to haunt you...
Kingdom of Equality
There is a kingdom called DomKi. There are N cities and N – 1 bidirectional roads in DomKi. The citi...
Preparing for War
There were N cities in England. Each contained a warrior with skillset equal to X. All the cities we...
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...
Explosion
There is a house named Larcana. It is a very weird house. There are exactly N rooms in total and bet...
MonoMono
You have probably heard of the famous board game, Monopoly. According to Wikipedia, in this game, pl...
Birthday Gifts
Today is Luke's birthday. Mr. Phil Dunphy (Luke's father) has thrown a birthday party for him and de...
Big Bang Theory
Dr. Sheldon Cooper is working on a project that works on the 2D concept of the universe. In this pro...
Toph uses cookies. By continuing you agree to our Cookie Policy.