## Another Query on StringYou are given a string S (of length n) consisting of alphabets only. You need to perform m queries o... |

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

## Rivalry FriendsRyo and his girlfriend love to think about challenges. One day his girlfriend gave him a challenge t... |

## Easy Prime!There are N numbers in an array. You will have Q queries. In each query, you can make 2 operations. ... |

## Count the ChaosImagine, you have an array of integers of size NNN. At each index of this array is a unique integer ... |

## CrayonsFive friends A, B, C, D and E has come to a shop to buy crayons for their art project. They need cra... |

## Ajob Commute IIOnce again we return to Ajobshohor, the capital city and the heart of Ajobdesh. Ajobshohor’s road sy... |

## MSIS!Do you know what MSIS is? MSIS is the abbreviation for Maximum Sum Increasing Subsequence. It is a s... |

## StraightforwardNo gossip. In this problem I will just say what to do. Initially, you will be given a bracket sequen... |

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

## Going Round in CirclesYou are given an array of non-negative integers of length nnn. You have to perform two types of oper... |

## A Super Easy Problem - "Array Query"Let's get into the problem directly without much description this time :D . You are given an array A... |

## GCD and SumCongratulations! You’ve been hired in “Buggy Softwares Ltd.” And you’ve been already given your firs... |

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.