The ranking of K-plus numbers and given numbers in variable (add and delete) interval Elements

Source: Internet
Author: User

Thought comes from the power of statistics by Zhang kunwei

The Division tree can only calculate the k-th largest number and the given number ranking in the static interval.

Based on the dynamic nature of letters and numbers, as long as the number of strings (in the binary form of numbers) ending with the current node is stored on the node, and the number of strings prefixed with this string, you can add, delete, and solve the above problems in the in-place mode for a long time. However, when the element value is too large, the time constant may be too large, and it is not easy to estimate the spatial demand.

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.