Run time error for quick and bubble sort.

  • (2 Pages)
  • +
  • 1
  • 2

15 Replies - 1540 Views - Last Post: 20 March 2013 - 11:43 PM Rate Topic: -----

#16 atraub  Icon User is offline

  • Pythoneer
  • member icon

Reputation: 759
  • View blog
  • Posts: 2,010
  • Joined: 23-December 08

Re: Run time error for quick and bubble sort.

Posted 20 March 2013 - 11:43 PM

Actually, it's worse than I thought. Check out what happens when you change the sample size to 1000.

EDIT:
This may be just fine for the purposes of your assignment, it might be your teacher's playful way of showing you that BigO isn't everything.

This post has been edited by atraub: 20 March 2013 - 11:47 PM

Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2