====== Teferi's library (Teflib; 텦립) ====== ===== algorithm.py ===== * [[algorithm#binary_search]] * [[algorithm#nth_element]] ===== binsearch.py ===== * [[binsearch#maximum_valid_integer]] * [[binsearch#minimum_valid_integer]] ===== combinatorics.py ===== * [[combinatorics#linear_homogeneous_recurrence]] ===== disjointset.py ===== * [[disjointset#DisjointSet]] ===== fenwicktree.py ===== * [[fenwicktree#FenwickTree]] * [[fenwicktree#RangeUpdatableFenwickTree]] * [[fenwicktree#OrderStatisticTree]] ===== fft.py ===== * [[fft#multiply]] ===== geometry.py ===== * [[geometry#twice_of_polygon_area]] ===== graph.py ===== * [[graph#minimum_spanning_tree]] * [[graph#minimum_spanning_tree_dense]] ===== matrix.py ===== * [[matrix#matmul]] * [[matrix#matpow]] * [[matrix#Matrix]] ===== numtheory.py ===== * [[numtheory#linear_congruences]] * [[numtheory#prime_list]] ===== priorityqueue.py ===== * [[priorityqueue#UpdatableHeap]] ===== segmenttree.py ===== * [[segmenttree#SegmentTree]] * [[segmenttree#MinSegmentTree]] * [[segmenttree#LazySegmentTree]] * [[segmenttree#OrderStatisticTree]] ===== string.py ===== * [[string#Trie]] ===== tgraph.py ===== * Deprecated ===== twosat.py ===== * [[twosat#TwoSat]]