A lower bound for finding predecessors in Yao's cell probe model
暂无分享,去创建一个
LetL be the set consisting of the firstq positive integers. We prove in this paper that there does not exist a data structure for representing an arbitrary subsetA ofL which uses poly (¦A¦) cells of memory (where each cell holdsc logq bits of information) and which the predecessor inA of an arbitraryx≦q can be determined by probing only a constant (independent ofq) number of cells. Actually our proof gives more: the theorem remains valid if this number is less thanε log logq, that is D. E. Willard's algorithm [2] for finding the predecessor inO(log logq) time is optimal up to a constant factor.
[1] Andrew Chi-Chih Yao,et al. Should Tables Be Sorted? , 1981, JACM.
[2] Dan E. Willard. Log-Logarithmic Worst-Case Range Queries are Possible in Space Theta(N) , 1983, Inf. Process. Lett..
[3] János Komlós,et al. Hash Functions for Priority Queues , 1983, FOCS.