A.
Strange Patterns Given R, C and D, you will produce a pattern consisting of asterisks (*) and dots (.). The pattern i...
Moderate
41/51/71 |

B.
Strange Patterns Reversed You will be given an R×C grid of asterisks (*) and dots (.). The grid is the top-left view of an inf...
Moderate
30/48/97 |

C.
Prime Plus Prime You will be given an integer N. N is a prime number. You have to determine if adding any other prime...
Very Easy
149/226/653 |

D.
Imagine a Graph 1 Imagine a graph of infinite nodes labelled with positive integers from 1 to ∞. Take every pair of no...
Very Easy
41/60/194 |

Practice contests allow you to re-run contests and experience them as close as possible to the original run.

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.