## Flow on TreeMr. Kaboom has recently learned about maximum flow. Now his friend Mr. Taboom gave him this problem.... |

## Kingdom - Great Roads of DestinyShin 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 TwinlandRio has become the president of Twinland. Now he wants to develop his country to fulfill his promise... |

## C++ Vector SimulationArray 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 ... |

## Unbelievable ArrayYou will be given an array A of n integers and q operations. There are two types of operations: 1 x... |

## Wakanda ForeverWe all know that Thanos has erased half of the population of the universe. Earth’s population was al... |

## Plant Trees, Save LifeThere are n students in a school. Some of them are friends with each other. You want to make the sch... |

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

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

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

## Team FormingBen is the instructor of a camp. He is forming several teams consisting of the students of the camp.... |

## Metro Rail BlocksThe city of Dhaka is experiencing the construction of metro rails. Imagine one such metro rail spans... |

## Yet Another XOR ProblemGiven a rooted tree with N nodes where each node has a value, find a pair of nodes (u, v) so that u ... |

## Change in ArrayYou will be given an array of length N. Then there will be Q queries. Each query will contain four i... |

## Bored??"Avoid touching your face, particularly your eyes, nose or mouth to prevent the virus from ente... |

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

## HashingShreas has created a new revolutionary hashing function that calculates hash values of graphs. For a... |

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.