We present a parallel algorithm (EREW PRAM algorithm) for linked lists contraction. We show that when we contract a linked list from size to size for a suitable constant we can pack the linked list into an array of size for a constant in the time of 3 coloring the list. Thus for a set of linked lists with a total of elements and the longest list has elements our algorithm contracts them in $O(n\log i/p+(\log^{(i)}n+\log i )\log \log l+ \log l)$ time, for an arbitrary constructible integer , with processors on the EREW PRAM, where and and $\log^*n=\min { i|\log^{(i)} n < 10}iO(n/p+\log^{(i)}n\log \log l+\log l)l=\Omega (\log^{©}n)$ for any constant we achieve time. The previous best deterministic EREW PRAM algorithm has time and best CRCW PRAM algorithm has time . Keywords: Parallel algorithms, linked list, linked list contraction, uniform linked list contraction, EREW PRAM.

生成讲解博客的中文版本

生成AI智能校验的中文版本