- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
3 Posted Topics
Declare time variables like such clock_t start, end; start=clock(); end=clock(); cout<<"the total elapsed time is: "<<(end-start)/CLK_TCK<<"seconds"<<endl; CLK_TCK is a predefined function in the time.h file, that translates clock ticks to seconds. This "might" help ya
[QUOTE=harshchandra]In easy to understand language can someone explain the premise behind Big O notation ? :rolleyes:[/QUOTE] Big O is a measure of compelexity. Basically, in laymans terms, it means the highest amount of complexity an algorithm will contain. Mathmatically, for me its easier to understand. IE in the function X^2+7, …
Recently we have been asked to create a hybrid sort based upon quicksorting down to a certain point and insertion sorting from then on. We are to calculate the efficency based upon previous tests. I had very little problems implementing a quicksort algorithm, but for the life of me, I …
The End.
Jpowers22