Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1037109
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T14:48:50+00:00 2026-05-16T14:48:50+00:00

I wanna implement a fast algorithm for a homework, but using parallel processing for

  • 0

I wanna implement a fast algorithm for a homework, but using parallel processing for this task. I heard that the parallel version of Quicksort is the best choice, but I’m not sure of this… maybe Heapsort is a good idea. Which algorithm do you think is the best one for a parallelized environment, and why?

  • 1 1 Answer
  • 2 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T14:48:51+00:00Added an answer on May 16, 2026 at 2:48 pm

    Quick sort can split the unsorted list into two halves, but unfortunately, the halves aren’t guaranteed to be anywhere near even. So one machine (or half of a cluster of machines) could get 20 entries, and the other half could get 20 billion.

    I can’t think of a good way to make heapsort work in parallel. It can be done, but man, that feels really counterintuitive.

    Merge sort is the one I think you want.

    • Each split is exactly 50% of the list, so it’s easy to split between processors.
    • You can implement merge sort on two sets of tape drives, which means that it doesn’t require the whole list be in memory at one time. For large lists, especially those that are larger than the memory you have available, that’s a must have.
    • Merge sort is also stable in parallel implementations, if it matters.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I wanna implement this using jquery instead of inline but Its not working, inline
I wanna implement divide and conquer using pthread, but I don't know what will
I wanna implement a javascript like method in java , is this possible ?
i have a div that it have image content .i wanna implement animation when
I wanna to implement an effect similiar to that which happens when super Mario
I have readed something about it i wanna to do some implementation using this.
I wanna implement an interface(Add behavior) for set of WPF usercontrols. I'm using MVVM
I wanna implement url rewriting so that, for example, all german pages have a
I wanna implement Facebook connect into my application on android. But i am not
I am using ActionBarSherlock to implement an UI using this powerful AB as a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.