paper

Uniform Linked Lists Contraction

arXiv:2002.05034

Abstract

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 time, for an arbitrary constructible integer , with processors on the EREW PRAM, where and and . When is a constant we get time . Thus when 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.