Question

Find the best big-O notation to describe the complexity of following algorithms: The number of print...

  • Find the best big-O notation to describe the complexity of following algorithms:
    • The number of print statements in the following

while n>1 {

                print “hello”

                n=n/2

}

0 0
Add a comment Improve this question Transcribed image text
Answer #1

wh de (n>1) Poind hello pleridy time T (M)= T()O1) TW-1 T T() +2K 3K mk 1 2m T(n)= T) n T(n) Cm =17 T6)0Lip) T-04y)

Add a comment
Know the answer?
Add Answer to:
Find the best big-O notation to describe the complexity of following algorithms: The number of print...
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