Git Product home page Git Product logo

pyrival's Introduction

PyRival

A Python Library for Competitive Programming

Developers

Mukundan314pajenegoddrd93algmyrmeooow

Features

  • Templates
  • Programming Tools
  • Algorithm Snippets

Templates

Misc Code

  • bootstrap for recursion
  • FastIO
  • heapq
  • sorted
  • py3k compatibility tools
  • random
  • str.split for whitespace
  • Bit Hacks
  • 32-bit Modular Arithmetic
  • Memoize Decorators
  • C++ syle cout
  • Interactive Runner
  • Stress Tester
  • Alpha–Beta Pruning
  • Longest Increasing Subsequence
  • K-th Order Statistic

Snippets

  • Algebra
    • (Multivariable) Chinese Remainder Theorem
    • Discrete Logarithm
    • Least Common Multiple
    • Integer Factorization
    • Fast Fourier Transform
    • Fast Subset Transform
    • Number Theoretic Transform
    • Deterministic Miller-Rabin Primality Test
    • Tonelli–Shanks Algorithm
    • Generalized Modular Inverse
    • Euler's Phi Function
    • Primitive Root
    • Sieve of Eratosthenes
  • Data Structures
    • Bit Array
    • Binary Indexed (Fenwick) Tree
    • Fractions
    • Continued Fractions
    • Disjoint-Set (Union Find) Data Structure
    • Generic Nodes
    • Linked List
    • Range Query Data Structure
    • (Lazy) Segment Tree
    • Persistent Segment Tree
    • Sorted List
    • Treap
    • Trie Tree
    • 2-satisfiability Template
  • Geometry
    • Convex Hull
    • Line Functions
    • Polygon Functions
    • Vector Functions
  • Graphs
    • Bellman-Ford Algorithm
    • Breadth First Search
    • Connected Components Search
    • Brent's Algorithm for Cycle Detection
    • Depth First Search
    • Dijkstra's Algorithm
    • Eulerian Path
    • Path Constructor
    • Floyd-Warshall Algorithm
    • Bipartite Graph Check
    • Kruskal's Algorithm with Disjoin Set Union
    • Prim's Algorithm
    • Tarjan's Algorithm
    • Topological Sorting
  • Combinatorics
    • General Purpose Numbers
    • Lucas's Theorem
    • Partition Function
  • Linear Algebra
    • Matrix Arithmetic, Exponentiation, Determinant, and Inverse
    • Gaussian Elimination
    • Multivariable Chinese Remainder Theorem
  • Numerical
    • Linear Recurrence Template
    • Hill Climbing Algorithm
    • Approximate Integration
    • Polynomial Interpolation
    • Integer Roots
    • Binary Search
  • Strings
    • Knuth–Morris–Pratt Algorithm
    • Longest Common/Palindromic Subsequences
    • Longest Common Substring
    • Manacher's Algorithm
    • Lydon Factorization

License

Apache-2.0 (c) 2019

pyrival's People

Contributors

cheran-senthil avatar mukundan314 avatar eduard-netsajev avatar bjorn-martinsson avatar plammens avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.