What is the big deal about Big-O notation in computer science?

前端 未结 14 734
广开言路
广开言路 2021-01-31 11:30

How would Big-O notation help in my day-to-day C# programming? Is it just an academic exercise?

14条回答
  •  Happy的楠姐
    2021-01-31 11:51

    Knowing what the relative strengths and weaknesses of different types of containers and sort algorithms helps you choose the correct one for the current situation. Big O notation is a convenient way to express the major difference, the algorithmic time complexity.

提交回复
热议问题