## PasswordsAlice wants to extract some passwords from a random string. A password can have any number of charac... |

## Diagonal SumGiven an N×NN \times NN×N size matrix, you have to re-arrange the elements of the matrix in such a w... |

## Misti ChorBhootu likes to eat misti. As he is a mischievous kid, he has decided to steal misti from the nearby... |

## String Is Not That EasyLet's consider a string S which is obtained by concatenating the non-negative integers from 0 to 102... |

## Fantastic FoodAs we all know that Alice and Bob just landed in Fantastic World and are going to stay for the next ... |

## Problem Setter CrisisCompetitive Programming is very popular in Leading University. There are many great achievements of ... |

## Birthday GiftsToday is Luke's birthday. Mr. Phil Dunphy (Luke's father) has thrown a birthday party for him and de... |

## Subset ANDYou are given an array A of n integers and an integer k. You need to find if there is any non-empty ... |

## Hardest Problem EverProf.Dr.DP is very famous professor. He is expert (actually legendary grandmaster) in Dynamic Progra... |

## Remember-RemainderZarin is a sadist. She loves to give problems to her close people. Today she gives you an array cons... |

## Find the Good SequenceLet's say two numbers are called "good" if their difference is at least 2. Similarly, a se... |

## EkupaiHacker robot Ekupai is trying to hack a supercomputer. He needs a cheat code X to hack this computer... |

## Game of StringsRedoan is very fond of strings. He wants to go on a spree of solving string problems. His own teamma... |

## Train HijackYou and your friend Daneliya Tuleshova are planning to hijack a train. Your friend will go inside a... |

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

## Permutations and DivisorsLet P be a permutation of length n where each value from 1 to n occurs exactly once. A subsequence o... |

## Estimation of TechboyTechboy works in a software company. He codes in Node.js and React. Every now and then he has to giv... |

## Dominoes ForeverOnce when I was little, my father took me to a tobacco shop! It is surprising, but true. He asked th... |

## BuildingsThere are n buildings in a row. The height of the i'th building is hi. You have ৳k. It is the amount... |

## Lexicographical Smallest StringThere is a string sss of length nnn containing lowercase letters and an integer kkk. Among the lette... |

## Assigning WorkstationsPenelope is part of the admin team of the newly built supercomputer. Her job is to assign work-stati... |

## Find NSUPSGiven a string s, find the number of subsequence in s which forms the word "NSUPS". A subs... |

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

## Flyover in TwinlandRio has become the president of Twinland. Now he wants to develop his country to fulfill his promise... |

## Road Minister TechboyTechboy is appointed as the minister of roads and highway in his country Better-Not-Name-It. Now he ... |

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.