algorithm_study
algorithm_study copied to clipboard
algorithms and data structures for coding contest (designed for 'copy & paste')
https://codeforces.com/blog/entry/69287 https://en.wikipedia.org/wiki/Matroid_intersection http://faculty.cs.tamu.edu/klappi/csce411-f13/csce411-set5b.pdf https://jeremykun.com/2014/08/26/when-greedy-algorithms-are-perfect-the-matroid/ http://www.secmem.org/blog/2019/05/15/introduction-to-matroid/ https://www.secmem.org/blog/2019/06/17/Matroid-Intersection/ https://discuss.codechef.com/t/cnnct2-editorial/40191 --------------------------------- https://codeforces.com/blog/entry/69287 https://codeforces.com/blog/entry/58135 https://en.wikipedia.org/wiki/Matroid_intersection https://codeforces.com/blog/entry/43871 https://codeforces.com/blog/entry/14948 https://courses.engr.illinois.edu/cs598csc/sp2010/Lectures/Lecture17.pdf schrijver p.708
from https://github.com/indy256/codelibrary/issues/46 https://github.com/e-maxx-eng/e-maxx-eng-aux/commit/7c113393033a7aded6abb18d87e261fcc98b5f71
- https://www.geeksforgeeks.org/find-square-root-modulo-p-set-2-shanks-tonelli-algorithm/ - https://math.stackexchange.com/questions/633160/modular-arithmetic-find-the-square-root
https://en.wikipedia.org/wiki/Reeds%E2%80%93Sloane_algorithm https://github.com/zimpha/algorithmic-library/blob/master/cpp/mathematics/linear-recurrence.cc https://paste.ubuntu.com/p/rHR9MHw5jP/ ...+ cf: https://en.wikipedia.org/wiki/Berlekamp%E2%80%93Massey_algorithm
This file contains a dataset( Adjacency matrix) for Karger Algorithm. It consists of N=3 to N=50.
The above algorithm produces min-cut with probability greater or equal to that 1/n^2. The probability of Simple Karger’s Algorithm can be increased by repeated runs and return a minimum of...
https://en.wikipedia.org/wiki/Nimber https://github.com/yosupo06/Algorithm/blob/master/src/math/nimber.h
https://codeforces.com/blog/entry/47764 https://codeforces.com/blog/entry/47821 (slope trick)
http://acm.math.spbu.ru/~sk1/courses/1819s_au3/conspect/conspect.pdf