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 7047525
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T02:46:55+00:00 2026-05-28T02:46:55+00:00

So, .Net and Java has spoiled me not being required to learn any sorting

  • 0

So, .Net and Java has spoiled me not being “required” to learn any sorting algorithms, but now I am in a need to sort an array in a different languages the doesn’t have this luxury. I was able to pick up on bubble sorting with little issue. However, some sources detest the use of bubble sorting becuase of the horrible performance with average and worst case scenario of n^2 comparrisons. Bubble sorting seems to get the job done, but about tackle a array that has +100,000 elements and has me worried that performance could be an issue at this degree. On the other, some of the other algorithms look pretty intimidating in terms of complexity. My question is, what would be a good follow up to bubble sorting in terms of better performance, but not going off into complexity wasteland in implementation?

As a side note, I am an analyst that the programs as needed, not a CS major. Needless to say, theres some holes that I have yet filled in my programming expertise. Thanks 🙂

  • 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-28T02:46:56+00:00Added an answer on May 28, 2026 at 2:46 am

    There are many options, each with their own trade-offs. As you’ve discovered, Bubble Sort’s trade-offs are that it’s (a) simple, but (b) slow with even remotely large arrays.

    • Quicksort is a good one, but you may run into memory issues.
    • I’ve used Heapsort with much success, but it’s not guaranteed to be stable (though I’ve never had problems).
    • Bogosort is fun to implement and talk about, but entirely impractical.
    • and so on…

    Having a good understanding of the data to be sorted helps one decide which algorithm is best. For example:

    • How large will the array be?
    • Is there a chance it’s already sorted or partially sorted?
    • What kind of data does the array contain?
    • How difficult/expensive is it to compare two elements in the array?
    • How difficult/expensive is it to determine if the array is sorted?
    • and so on…

    There is no one sorting algorithm that’s better than all others. Choosing what fits your needs is something that you’ll pick up over time and with practice.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

On large-scale Java/.Net Enterprise projects, does every developer need to have all the components/libraries/dependencies
It seems the java.net.NetworkInterface implementation of android does not have a byte[] getHardwareAddress() method
I know Microsoft .NET uses the CLR as a JIT compiler while Java has
I need to check the current user's java grants, something similar to what has
Has anyone used the Stax implementation by Woodstox http://woodstox.codehaus.org and sjsxp https://sjsxp.dev.java.net/ . I
What is the quickest/easiest way to learn Java for a seasoned .NET/C# (more than
To recap for those .NET gurus who might not know the Java API: ConcurrentHashMap
I'm an experienced C++/.NET/Java Windows/web programmer trying to learn (Common) Lisp. I'm reading Practical
My application has Java and .NET clients and my application is in .NET. My
Does Java has similar PHP function checkdnsrr ? http://php.net/manual/en/function.checkdnsrr.php

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.