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

Preparing for War There were N cities in England. Each contained a warrior with skillset equal to X. All the cities we... |

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

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

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

Do You Know Tree ? "Stay at least one metre distance from others.” Corona has affected the World as well as Bangladesh.... |

Tree Queries You are given a tree of n vertices. Each vertex contains an integer. Vertex 1 is the root of the tre... |

Help to Be Happy A country named Mueawin has one or more villages and one or more people live in every village. Two p... |

Unfair Robot Race Two teams of robots, Team A and Team B, are racing in a 2D grid. There will be a total of 6 rounds. ... |

Multiverse Of Courier Service Dr. Strange finally discovered a safe way to travel between parallel universes. By noticing people’s... |

Milad's Lost Tree Milad likes trees so much. He has a rooted tree with $n$ vertices each of which has some non-negativ... |

Bad XOR 2 (Hard) So after successfully becoming many people's nightmare, XOR has struck again, this time to haunt you... |

Set the Meeting Three colleagues Motu, Biscuit and Ramjan are in Sundarbans now. They are on a mission to protect th... |

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

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

Identify the Level Amin and Belal are two friends. Both have good knowledge about graph and tree in data structure part... |

Sofdor Ali's Black and White Tree Sofdor Ali loves Computer Science. He prefers hexadecimal number system to decimals, just because it... |

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

Haunting of Herobrine Herobrine's horror stories are known by many, but only a few dares to speak that name out loud, for ... |

Stephen, Bob, and Tomato's Canvas If Stephen Hawking was right, then there is a universe where Bob Ross is a student of Tomato Yoshi. ... |

COVID-19 Outbreak COVID-19 outbreak in Atlantis is so bad that the government is forced to lock down the whole country... |

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

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

Taofiq the House Prefect Tomorrow is a very special day for Taofiq. He is participating in an intra school quiz contest. As h... |

2Sat, Adhoc, ApolloneasTheorem, Backtracking, BFS, Bignum, BinarySearch, BipartiteMatching, Bitmask, BruteForce, ChineseRemainderTheorem, Combinatorics, ConvexHull, CutVertex, DataStructure, DFS, DigitDP, DisjointSets, DivideAndConquer, DP, Eertree, EulerTour, ExpectedValue, FenwickTree, FFT, Flow, Game, GCD, Geometry, Graph, Greedy, Hashing, HeavyLightDecomposition, Implementation, InclusionExclusion, Interactive, KnuthMorrisPratt, LowestCommonAncestor, Math, Matrix, MatrixExponentiation, MergeSortTree, ModularExponentiation, MOSAlgorithm, MST, NTT, NumberTheory, Parsing, PersistentLiChaoTree, PersistentSegmentTree, PollardRho, PriorityQueue, Probability, Queue, RabinMiller, RangeOrderStatistics, Scheduling, SegmentTree, ShortestPath, Simulation, Sorting, SparseTable, SpragueGrundyTheorem, SqrtDecomposition, Stack, String, StronglyConnectedComponents, SuffixStructure, TernarySearch, Tree, Trie, TwoPointer, WaveletTree

Toph uses cookies. By continuing you agree to our Cookie Policy.