Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • And to state the point explicitly: this exercise is driving home the point that for functions with ≥ O(n), you can try to throw more/faster hardware at the problem, but you get diminishing returns in performance. 10x the compute gets you <10x the performance. Commented Dec 15, 2024 at 20:15
  • Another lesson is that the bigger the problem size, the more important a smaller big-o becomes, also compared to a faster computer or micro-optimisation. Commented Dec 23, 2024 at 13:48