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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T16:38:09+00:00 2026-05-23T16:38:09+00:00

It seems to run very fast, even for relatively large (size 10) sets. Can

  • 0

It seems to run very fast, even for relatively large (size 10) sets. Can anyone tell me the big-theta runtime of their particular algorithm? I can’t find it in the documentation.

  • 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-23T16:38:10+00:00Added an answer on May 23, 2026 at 4:38 pm

    My first attempt at answering this was badly flawed. Since the most of the internal algorithms have no posted limiting behavior, I decide to measure this directly. I measured thetime it takes to calculate the Permutations of a random list of values, and calculated the average and standard deviation over a 1000 of them for each length. I used a maximum length of 10 elements due to time required, and that Permutations only works lists up to length 12. My results on a log plot:

    log plot of permutation timings up to length 10

    The mean is the black line, and one standard deviation is represented by the filled region surrounding the mean. Starting at length 5, it is roughly straight until 10 where a slight curve can be detected. I’d suspect it is O(n!), but for lengths below 7 or 8, it really won’t matter. Even permutations of length 10 gave a respectable showing averaging at 0.241 +/- 0.012 s.

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

Sidebar

Related Questions

I have a relatively large set of data that lends itself very naturally to
Why does setInterval run very fast after some time? I used the code below
I'm making a simple RTS game. I want it to run very fast because
I seem to run into this very often. I need to build a Hash
it seems I have run into a problem with Internet Explorer 7. I have
I've run into a strange situation that seems to involve long text overflowing. I'm
It seems that I have more trouble getting standard Unix things to run on
When I run the following code, it only seems to be downloading the first
This seems like it should be something I already know. We need to run
When you run an application from within visual studio, it seems to pick 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.