Qdez Training Note "In the update"

Source: Internet
Author: User

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"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.