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

前端 未结 14 583
广开言路
广开言路 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条回答
  •  孤街浪徒
    2021-01-31 11:52

    No, it really helps to know what the efficiency of different algorithms are.

    If you take the time to understand Big O, every time you sit down to code a loop, you'll be thinking "How can I make this more efficient?" - which is a good thing :)

提交回复
热议问题