Own understanding of
"2016-12-31"
"Chairman Tree"
Http://www.cnblogs.com/candy99/p/6160704.html
is to persist the line tree, and for each version to establish a segment tree, you can query the historical versionin order to save memory and time directly using the historical version of the pattern, place the modified area along the new node, and inherit the historical version from other placesThe chairman tree is a prefix and a set of line segment trees, each prefix and the creation of a line segment tree, inheriting a previous historical version, just a single point of modificationThe interval modification is also the same, all the changes to the point of the new node should be opened when the flag is also new
Summary: Is to change the various operations to (including because of the next mark and modified) node new open node, the wording is more new open node just, other likeChairman Tree line segment tree is a range segment tree, the shape of the segment tree is fixed and the information maintained is the number of occurrences so it is
available to reduce , then the chairman of the tree to do a difference in the area of the domain segment tree, can be two points in the segment tree to seek kth
"Tree Chain Split"
Http://www.cnblogs.com/candy99/p/6172163.html
Complexity: Each walk of a light edge, size at least one times (you can think of a complete binary tree, that exactly one times), up to walk logn times
A complete binary tree is the Logn, and then the tree is too small to hold the violence, so the tree is considered to be a very small constant.
The chain sequence is also the DFS sequence, but pay attention to the heavy chain first
A small property: In addition to the final chain, each interval is a prefix of the heavy chain
Topic
Suffix array
Topic
Qdez Training Note "In the update"