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
  • 0 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

Ask A Question

Stats

  • Questions 509k
  • Answers 509k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer No, GetHashCode is not intended to uniquely identify objects. The… May 16, 2026 at 4:41 pm
  • Editorial Team
    Editorial Team added an answer Those particular certs claim to have 99% Browser Recognition. I… May 16, 2026 at 4:41 pm
  • Editorial Team
    Editorial Team added an answer It seems that setting the ValidateNames property to false solves… May 16, 2026 at 4:41 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I wanna implement a javascript like method in java , is this possible ?
I wanna implement a download-and-install mechanism. I have a source link where my app
I want to implement event management in my application and i wanna know what
Im trying to implement pagination using multiple searching criteria. Supposed I Have student table.
What s the best way to implement a method that creates and assings ID
I know this question must have been covered endless of times, but I've searched
I wanna to write something to a .txt file in .c file, but required
I wanna put the results from sql query into a table but if i
I wanna know a corresponding method in Android/Java that is like the GetTickCount method
I wanna know if there is a function that is called directly after the

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.