Element distinctness and sorting on one-tape off-line turing machines

被引:0
|
作者
Petersen, Holger [1 ]
机构
[1] Univ Stuttgart, FMI, D-70569 Stuttgart, Germany
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We investigate off-line Turing machines equipped with a two-way input-tape and one work-tape. It is shown that the Element Distinctness Problem (EDP) for m binary strings of length l = O(m/log(2) m) can be solved in time O(m(3/2)l(1/2)) and space O(m(1/2)l(1/2)) on a nondeterministic machine. This is faster than the best sorting algorithm on the computational model and optimal if time and space are considered simultaneously. For deterministic machines we give an optimal algorithm that can sort m binary strings consisting of e bits each in O(m(3/2)l) steps, provided that l = O(m(1/4)). By modifying the solution we obtain the time bound O(m(3/2)l) and the space bound O(m(1/2)l(2)) for the EDP.
引用
收藏
页码:406 / 417
页数:12
相关论文
共 50 条