Abstract

We consider the problem of sorting an input of size n/sup 2/ with keys restricted to the set {0,1} on a n /spl times/ n mesh-connected computer. We present a deterministic algorithm that runs in 2.25n + o(n) steps, requires small constant size queues and sorts to row major order. This is a significant improvement over the best previously known deterministic algorithm for (general) sorting which requires 3.5n + o(n) steps in this case (M. Kunde, 1990). We also present a randomized algorithm that sorts to an arbitrary indexing scheme, using constant size queues, requiring 2.5n + o(n) steps with high probability. The best previous (randomized) algorithm for this problem runs in 4n + o(n) steps. The problem has applications in divide-and-conquer algorithms and to packing problems. >

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.