

The proof of... f


(f





On Friday we discussed patterns of linear search and derived formulas for the number of steps a linear search takes. We also discussed which of the three speed: best, worst, and average... was most important. In the end, the worst case proved itself to be the most important speed to which we care about since we are able to guarantee a lower bound, as in this search will be in the worst case ______, rather than saying the average and best speed (which is less valuable). And with all of this, we then finally proved that a certain sort was in the worst case bounded above by n^2. I believe this was the most confusing part of this week, in the fact that we didn't use a formula given but a formula we had to derive from the python code.
Nevertheless, this week was quite packed and was a bit hard to keep up with, I plan to go to the CSSU help center to go over these notes carefully, just to make sure I understand these new concepts.
No comments:
Post a Comment