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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T08:27:16+00:00 2026-06-01T08:27:16+00:00

So I got this question in data structures class’ homework, I’m translating so I

  • 0

So I got this question in data structures class’ homework, I’m translating so I hope it will be clear enough:

Write a static function that calculates and prints the asymptotic ratio between a size of an array and number of swapping times in order for it to be sorted. use ‘quick’ and ‘insertion’ sort, compare the number of swaps between both sorts.’

the function has to look like this:

public static void asimp()

and now they give me a few sizes for checking it.

I’m really having a hard time figuring this out, for starting, I don’t know what asymptotic ratio means.

I forgot to mention, we use java.

I’ll really appreciate any help,
thank you all!!

  • 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-06-01T08:27:18+00:00Added an answer on June 1, 2026 at 8:27 am

    “I don’t know what asymptotic ratio means” – maybe you know the term “complexity”. E.g., in the O-calculus you usually explore the increase of the number of operation steps in relation to the increase of the problem size. Here, you have to only to consider “swap” operations and your problem size is the number of elements in you array.

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

Sidebar

Related Questions

I got this question from my cousin: What will be the best way to
I got this question from this discussion . A method call like object.m does
I got this question in a programming test. Do you think this question is
So I got this question from one of the developers in my team: What
Today I got this question for which I think I answered very bad. I
I just got this question on an interview and had no idea how to
I've got this small question - given a bitmask of weekdays (e.g., Sunday =
The responses I've got to this question have solved the problem I had in
Based on feedback I got from this question , I'm interested in using Lazy
My girlfriend got this question in an interview, and I liked it so much

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.