谷歌浏览器插件
订阅小程序
在清言上使用

A Fast Parallelizable Algorithm for Constructing Balanced Binary Search Trees

SN Computer Science(2022)

引用 0|浏览1
暂无评分
摘要
We suggest a new non-recursive algorithm for constructing a balanced binary search tree given an array of numbers. The algorithm has O ( N ) time and O (1) auxiliary memory complexity if the given array of N numbers is sorted. The resulting tree is of minimal height and can be transformed into a complete binary search tree while retaining minimal height with O(log N) time and O (1) auxiliary memory. The algorithm allows simple and effective parallelization resulting in time complexity O((N/s)+s+log N) , where s is the number of parallel threads.
更多
查看译文
关键词
Binary search tree,Parallel algorithm
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要