pith. sign in

arxiv: 2403.03990 · v1 · pith:MDZ7FCWEnew · submitted 2024-03-06 · 💻 cs.DS

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

classification 💻 cs.DS
keywords datastructurearrayoperationsprefixsierpinskitimetree
0
0 comments X
read the original 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_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_3 N)$ time instead. We show this order to be optimal by making use of a connection to quantum computing.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.