A Boring Game
Alice and Bob are playing a game with a tree with n nodes. Alice always plays first, and the two pla...
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 ...
Hidden Graph
There is an unweighted, undirected hidden graph. You are given an integer range from L to R. There a...
Directed Rectangle
Sami has just finished his assignments, to relax, he wants to play games. Since he’s banned from PUB...
Poltu and Minimum Spanning Tree
Boltu gave a simple task to his best friend Poltu. You are a good programmer. So, Poltu hired you to...
How Many Ways?
Regular problem solvers starts their journey by solving ad hoc and number theory. After getting the ...
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...
Meena Meets The Marauders
December 14, 1975 Hogwarts School of Witchcraft and Wizardry It’s been a long long day. The Marauder...
Wakanda Forever
We all know that Thanos has erased half of the population of the universe. Earth’s population was al...
Tic Toc Toe
We all know what Tic-Toc-Toe works. But in the anime world, people aren't really interested in norma...
Marbles Per Second
You have a rooted tree of n nodes. If we traverse the tree from the root, let’s say the traversing o...
Toph uses cookies. By continuing you agree to our Cookie Policy.