MCP
arXivarXiv
Preprint
Published: March 6, 2024
cs.DS

A Sierpinski Triangle Data Structure for Efficient Array Value Update and Prefix Sum Calculation

Abstract
The binary indexed tree, or Fenwick tree, is a data structure that can efficiently update values and calculate prefix sums in an array. It allows both of these operations to be performed in O(log⁡2N)O(\log_2 N) time. Here we present a novel data structure resembling the Sierpinski triangle, which accomplishes these operations with the same memory usage in O(log⁡3N)O(\log_3 N) time instead. We show this order to be optimal by making use of a connection to quantum computing.
0
AI overview
Reviews
Citation graph
Structured
This paper does not have an AI preview yet
Rating
No ratings yet
Rate
Community rating
—
/ 5
No ratings yet
Rating
—
Soundness
—
Presentation
—
Contribution
—
Confidence
—
Discussion
Top
Newest
Questions
Replication
Author
No comments yet — be the first