TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Compact Fenwick trees for dynamic ranking and selection (2019)

39 pointsby luu10 months ago

3 comments

mihaic10 months ago
I just want to add that succinct data structures are reasonably straightforward to develop when there&#x27;s an actual requirement, so I would have wanted to see some better benchmarking numbers here.<p>I had pretty much this same task as the second hardest challenge in a 2-hour competitive programming contest, and plenty of people came up with the solution on the spot. Try an implementation yourself if you&#x27;re up for it here: <a href="https:&#x2F;&#x2F;csacademy.com&#x2F;contest&#x2F;archive&#x2F;task&#x2F;light-count&#x2F;" rel="nofollow">https:&#x2F;&#x2F;csacademy.com&#x2F;contest&#x2F;archive&#x2F;task&#x2F;light-count&#x2F;</a>
评论 #40960700 未加载
froh10 months ago
&gt; Our aim is to use our variants to implement an efficient dynamic bit vector: our structure is able to perform updates, ranking and selection in logarithmic time, with a space overhead in the order of a few percents,<p>large bit vectors as in 10^6..10^10 bit bit veczors
wslh10 months ago
My two cents from 2012: <a href="https:&#x2F;&#x2F;blog.databigbang.com&#x2F;esoteric-queue-scheduling-disciplines&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blog.databigbang.com&#x2F;esoteric-queue-scheduling-disci...</a>