Abstract

The problem of merging two sorted arrays A = ( a 1 , a 2 , ..., a n 1 ) and B = ( b 1 , b 2 , ..., b n 2 ) is considered. For input elements that are drawn from a domain of integers [1... s ] we present an algorithm that runs in O (log log log s ) time using n /log log log s CREW PRAM processors (optimal speed-up) and O ( ns ϵ ) space, where n = n 1 + n 2 . For input elements that are drawn from a domain of integers [1... n ] we present a second algorithm that runs in O (α( n )) time (where α( n ) is the inverse of Ackermann′s function) using n /α( n ) CREW PRAM processors and linear space. This second algorithm is non-uniform; however, it can be made uniform at a price of a certain loss of speed, or by using a CRCW PRAM.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.