How to Find the Tightest Big O of a Function

In this video, I will show you how find the tightest Big O of a function and the intuition behind it.For example, the tightest big O of 2n+.3 is O(n), not O(n^2), not O(n^3), ... By the definition of big O, f(n) is O(g(n)) if you can find a positive constant c and a positive integer nₒ such that f(n) is less than or equal to c times g(n), for all n is greater than nₒ.
Knowing how to prove that something is Big O or not Big O is an important skill that Computer Science CS and Math students need to know about time complexity and growth of functions. It is likely that you will encounter this topic in your typical Data Structures, Discrete Mathematics, or Analysis of Algorithm courses at University.
I will also how you how to prove Big Omega Ω or Big Theta θ. If you enjoyed this video, please don't forget to comment down below and also subscribe if you haven't already!

Пікірлер: 2

  • @sugrueconnor
    @sugrueconnor3 ай бұрын

    This vid was super helpful. Thanks!

  • @QuocDatPhung

    @QuocDatPhung

    3 ай бұрын

    You're very welcome Sugrueconnor!! I'm glad you enjoyed my video! I would really appreciate if you could share with your classmates or kindly subscribe ~ also you can find all of my CS videos in this link: kzread.info/head/PLeTO6OT3-FKmuxOu4RtupTay1yrMp6QGC