Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
20% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
3
Posts with Downvotes
1
Downvoting Members
3
0 Endorsements
~47.9K People Reached
Favorite Forums
Member Avatar for rupali

How to calculate time complexity of any algorithm or program .... need help on this..

Member Avatar for jamie_13
2
48K
Member Avatar for singh.sanjana

[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.

Member Avatar for فلذمنصور
0
70
Member Avatar for SebKom

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 …

Member Avatar for BestJewSinceJC
0
92
Member Avatar for needhelp83

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 …

Member Avatar for فلذمنصور
0
72