Question: How to compare the avg runtime of an algorithm for diff values of N on a graph in Excel. Say when n=3 runtime 10 seconds.

How to compare the avg runtime of an algorithm for diff values of N on a graph in Excel.
Say when n=3 runtime 10 seconds.
When n=4 runtime 20 seconds
However, on this same graph, I want to graph the time complexity O(n^2) to compare the complexity of these two side by side. I just need help on how to set up this graph comparing the two, thank you.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!