flâneur

ekzlib: code library

ekzlib.netlify.app · 253 words · saved by 1 readers

Algorithms and data structures for competitive programming in C++

Welcome! Here you will find C++ implementations of useful algorithms and data structures for competitive programming. 2D Fenwick Tree fenwick_2d.cpp View 2D Max Query with Segment Tree + Treap segtreap.cpp View 2D Sum Query with Fenwick Tree + Treap fentreap.cpp View Aho-Corasick Algorithm aho_corasick.cpp View Area of Rectangle Union (2D Klee's Problem) rectangle_union.cpp View Centroid Decomposition of a Tree centroid_decomp.cpp View Convex Hull Trick convex_hull_trick.cpp View Dinic's Algorithm for Max Flow maxflow.cpp View Dinic's Algorithm v2 (without…

saved by

related reading