Question

explain big-oh, big omega and big-theta notation in asymtotic analysis

explain big-oh, big omega and big-theta notation in asymtotic analysis
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Big O Notation : This defines the upper bound on the running time of an algorithm. In other words, it is the Asymptotic maximum time which an algorithm would take to run.

In mathematical Notation, let f(n) and g(n) to two functions on input n, where f(n),g(n) >= 0,

Then f(n) = O(g(n)) {if f(n) <= c*g(n) for some constants c and n0  and n > n0 }

Big Omega Notation (Ω) : This defines the lower bound on the running time of an algorithm, In other words, it is the Asymptotic  minimum time which an algorithm would take to run.

In mathematical Notation, let f(n) and g(n) to two functions on input n, where f(n),g(n) >= 0,

                                    Then f(n) = Ω(g(n))      {if f(n) >= c*g(n) for some constants c and n0   and n > n0 }

Big Theta Notation (θ) : This defines the lower bound as well as the upper bound on the running time of an algorithm, In other words, it is the Asymptotic  average time which an algorithm would take to run.

In mathematical Notation, let f(n) and g(n) to two functions on input n, where f(n),g(n) >= 0,

                                    Then f(n) = θ(g(n))      {if f(n) = O(g(n)) and f(n) = Ω(g(n)) }

Add a comment
Know the answer?
Add Answer to:
explain big-oh, big omega and big-theta notation in asymtotic analysis
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT