A.
Counting Substrings You are given a string t, a prefix p, and a suffix s. You have to find the number of distinct substr... |

B.
Bloom "DALL·E 36FC" is a new AI system that can create realistic images and art from a description in natu... |

C.
Star Faija loves to do art. She has a graph, which has n rows and m columns. She creates new art every da... |

D.
Next Smaller Element You will be given a long array ar. The length of the array is n100 where n will be given. The first ... |

E.
Prime Divisor on Tree Path You are given a permutation of P numbers which are 1 to P and a tree with N nodes each node having a... |

F.
Less Travel Nishat loves traveling a lot. Currently she is in a newly independent country named NewKaly. She dec... |

G.
Ulta Masud Mr. Masud is a superstitious executive of an administrative office in Wadia, and you have to bribe h... |

H.
Count the Co Prime Number Wow, The statement is very clear, you are given an array A that contains N number of positive intege... |

I.
Complete Your Task There are N girls in a class, having roll numbers from 1 to N. Each of them has some points Pi & a ... |

J.
MEX Revised You are given an array (initially which is empty) and also given two types of operations: Given 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.