- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 3
- Posts with Downvotes
- 1
- Downvoting Members
- 3
Re:
How to calculate time complexity of any algorithm or program .... need help on this.. |
|
Re:
[I]<<thread split from [URL="http://www.daniweb.com/forums/thread13488-9.html"]here[/URL]>>[/I] hi. i can c ur proficiency in the algorithm n complexity field. can u pls help me out? i need 2 understand it 4m the very beginin. take me as a layman n thn send ur replies. |
|
Re:
Hello coders, newbie on board! Just a quick question: How do I calculate the number of steps a bubble sort takes to sort a database of n entries? On my notes it is written that "It is easy to see that a bubble sort of n records requires n−1 comparisons … |
|
Re:
Alright, I didn't get this one quite right on the homework, but I am trying to figure out exactly how to solve this thing. The answer was n log n , but how do you total this up when going through the loop [CODE] i = n 1 while i … |