StackLang StackLang is a stack-based programming language. Here, each program contains a series of commands th... |

Holy Tree What is a tree? A tree is a bidirectional connected graph with no cycle. In a tree, we can create ... |

Set Union Given two sets of integers, print the set containing the union of the two input sets. For example, g... |

Big Tang Theory Shell Don (Shelly in short) is a theoretical physicist who is claimed to be highly intelligent with ... |

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

Matching Brackets You will be given a sequence of opening and closing brackets of different types ((, ), [, ], {, and ... |

Neat Brackets Given a sequence of opening and closing parentheses ("(" and ")") you will have to determine if it i... |

Distinct Dishting You are given an array of N integers. Then there will be Q commands of the following type: Change ... |

GCD and Sum Congratulations! You’ve been hired in “Buggy Software Ltd.” And you’ve been already given your first... |

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

MEXimum Let’s get straight to the point. You are given a tree. In the tree, each node u has a number au ass... |

Naughty Subsequence - V2.0 Mahib loves ‘Naughty Subsequence’-s. He will give you an array of characters ara[0,1,...,n-1] that c... |

Taju Kage Bunshin No Jutsu Naruto Uzumaki is one of the strongest ninja of RUET (Rasengan University of Ebisu and Tobi), posses... |

ICPC World Final ICPC (International Collegiate Programming Contest) World final is one of the most prestigious conte... |

Mario and Princess Peach The world of Mario can be imagined as 2D grid of $N$ rows and $M$ columns--containing a total of $N ... |

Distinctness A substring of string S is another string S' which occurs in string S. For example: S = aaba and one... |

Final Days of Goldfinger We see agent Bond once again being called in time of a great need. The vile criminal Auric Goldfinge... |

Smart Query Handler Bit operators perform bit-wise operations between two binary numbers. Wikipedia says, binary operati... |

Primary Key "Clarity-Lon" is the new awesome e-commerce based startup that went to the top of the chart within f... |

Earthquake! Most houses are not as safe as they could be. Earthquake engineering is an interdisciplinary branch ... |

Expandable ListView Minas is working on his new language. He want to add a feature call expandable listview. Here he exp... |

Rio and Inversion One day Rio was returning home from his university and unfortunately lost his phone on the way. He a... |

New Year Couple The new year 2017 is here. To celebrate the 31st night, Mr Rio has thrown a big party at his house. ... |

Subarray Sum You are given an array having N integers. You have to select at most K positions in the array and re... |

Sofdor Ali and Bracket Sequence Sofdor Ali has invented a new game. He asked his assistant Jong Bahadur ( who happens to be a monkey... |

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.