A Simple and Space Efficient Segment Tree Implementation
Lei Wang, Xiaodong Wang

TL;DR
This paper introduces a space-efficient heap-based segment tree implementation that simplifies structure and enhances performance for key computational geometry problems like interval queries and union measures.
Contribution
A novel heap-based segment tree implementation that removes structural information, enabling efficient insertions, deletions, and problem-solving in computational geometry.
Findings
Insertion and deletion in O(log n) time
Efficient solutions for interval stabbing and union problems
Reduced space complexity of segment trees
Abstract
The segment tree is an extremely versatile data structure. In this paper, a new heap based implementation of segment trees is proposed. In such an implementation of segment tree, the structural information associated with the tree nodes can be removed completely. Some primary computational geometry problems such as stabbing counting queries, measure of union of intervals, and maximum clique size of Intervals are used to demonstrate the efficiency of the new heap based segment tree implementation. Each interval in a set of intervals can be insert into or delete from the heap based segment tree in time. All the primary computational geometry problems can be solved efficiently.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsData Management and Algorithms · Algorithms and Data Compression · Data Mining Algorithms and Applications
