Hacker News new | ask | show | jobs
by almog 1429 days ago
Another advantage to Fenwick Tree: while it shares asymptotic space complexity with Segment Tree, it has better constant factors, which can be useful in very restricted environments.
1 comments

I used fenwick trees in a smart contract because space/time costs money.