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

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
10/14/42 |

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...
Moderate
103/137/409 |

D.
Imagine a Graph 1 Imagine a graph of infinite nodes labelled with positive integers from 1 to ∞. Take every pair of no...
Moderate
23/34/117 |

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.