1. 1. Introduction
    1. 1.1. Data Structures
      1. 1.1.1. Segment Trees
        1. 1.1.1.1. Segment Tree
        2. 1.1.1.2. Lazy Segment Tree
        3. 1.1.1.3. Persistent Segment Tree
        4. 1.1.1.4. Dynamic Segment Tree
        5. 1.1.1.5. Li-Chao Line Add Tree
        6. 1.1.1.6. Li-Chao Segment Add Tree
        7. 1.1.1.7. Beats (chmin + sum)
        8. 1.1.1.8. Beats (chmin + chmax + sum)
        9. 1.1.1.9. Beats (chmin + chmax + add + sum)
      2. 1.1.2. Heaps
        1. 1.1.2.1. Pairing Heap
      3. 1.1.3. Trees
        1. 1.1.3.1. EulerTour Subtree
        2. 1.1.3.2. EulerTour Path
        3. 1.1.3.3. Heavy Light Decomposition
        4. 1.1.3.4. Link Cut Tree
        5. 1.1.3.5. Top Tree
      4. 1.1.4. Union Find
        1. 1.1.4.1. Union Find
        2. 1.1.4.2. Persistent Union Find
      5. 1.1.5. self-Balancing Binary Search Trees
        1. 1.1.5.1. Splay Tree Array
        2. 1.1.5.2. Splay Tree Map
        3. 1.1.5.3. AVL Tree Array
        4. 1.1.5.4. AVL Tree Array Tuned
        5. 1.1.5.5. AVL Tree Map
        6. 1.1.5.6. AVL Tree Map Foldable
        7. 1.1.5.7. Persistent AVL Tree Array
      6. 1.1.6. Sparse Table
        1. 1.1.6.1. Sparse Table
      7. 1.1.7. Wavelet Matrix
        1. 1.1.7.1. Wavelet Matrix
        2. 1.1.7.2. Dynamic Wavelet Matrix
      8. 1.1.8. Container
        1. 1.1.8.1. Fully Retroactive Stack
        2. 1.1.8.2. Hash Map
      9. 1.1.9. Other
        1. 1.1.9.1. SWAG
        2. 1.1.9.2. Fenwick Tree
        3. 1.1.9.3. Online Dynamic Connectivity
        4. 1.1.9.4. Range Valued Array
    2. 1.2. Math
      1. 1.2.1. modint
      2. 1.2.2. montgomery modint
      3. 1.2.3. Matrix
      4. 1.2.4. Chinese Remainder Theorem
      5. 1.2.5. Garner's Algorithm
      6. 1.2.6. Formal Power Series
      7. 1.2.7. Mori FPS Division
      8. 1.2.8. Newton Interpolation
      9. 1.2.9. Seidel's LP
      10. 1.2.10. Runtime fp
      11. 1.2.11. F2FPS
      12. 1.2.12. Factorial
      13. 1.2.13. osa_k
      14. 1.2.14. Adjucency Matrix Equation
      15. 1.2.15. Berlekamp-Massey
      16. 1.2.16. Fast-Kitamasa
      17. 1.2.17. Black Box Linear Algebra
      18. 1.2.18. Convolution
        1. 1.2.18.1. Multiple Transform
        2. 1.2.18.2. Divisor Transform
        3. 1.2.18.3. Fast Fourier Transform
        4. 1.2.18.4. Number Theoretic Transform
        5. 1.2.18.5. Zeta Mobius Transform
    3. 1.3. String
      1. 1.3.1. 2^31 Rolling Hash
      2. 1.3.2. Manacher
      3. 1.3.3. MP (Morris Pratt)
      4. 1.3.4. Suffix Array
      5. 1.3.5. Z-algorithm
      6. 1.3.6. Burrows Wheeler
      7. 1.3.7. Rolling Hash
    4. 1.4. Graph
      1. 1.4.1. Shortest Path
        1. 1.4.1.1. Dijkstra
        2. 1.4.1.2. BFS
        3. 1.4.1.3. Dial 01
      2. 1.4.2. Max Flow
        1. 1.4.2.1. Dinic
        2. 1.4.2.2. GoldBerg Tarjan's Preflow Relabel
      3. 1.4.3. Minimum Cost Flow
        1. 1.4.3.1. Successive Shortest Path
      4. 1.4.4. Strongly Connected Components
      5. 1.4.5. Incremental Bridge Connectivity
      6. 1.4.6. Lattice Graph
    5. 1.5. Geometry
    6. 1.6. Tech
      1. 1.6.1. Compression
      2. 1.6.2. Grundy Number
      3. 1.6.3. Monge DP
      4. 1.6.4. Mo's Algorithm
      5. 1.6.5. Slide Min
      6. 1.6.6. FastIO
      7. 1.6.7. Non-recursive Rerooting

cp-cpp-library Document

Heap