Question

Here are some common orders of growth, ranked from no growth to fastest growth:

  • Θ(1) — constant time takes the same amount of time regardless of input size
  • Θ(log n) — logarithmic time
  • Θ(n) — linear time
  • Θ(n log n) — linearithmic time
  • Θ(n2 ) — quadratic time
  • Θ(n3 ), etc. — polynomial time
  • Θ(2n), Θ(3n), etc. — exponential time (considered “intractable”; these are really, really horrible)

In addition, some programs will never terminate if they get stuck in an infinite loop.

Questions

This part asks you to state whether each of the following equalities are True or False.

Please answer this in the function runtime_answers() which will return a 10 element boolean list of your answers IN ORDER.

Eg: [True, False, True, False, True, False, True, False, True, False]

Question 2.1 n + n = Θ(n log n) Question 2.2 Question 2.3 Question 2.4 n +log n2 (5n) Question 2.5 n + log n-6(n log n) QuestQuestion 2.7 Question 2.8 Question 2.9 Question 2.10 n3 n log nn2-e (n log n)

Question 2.1 n + n = Θ(n log n) Question 2.2 Question 2.3 Question 2.4 n +log n2 (5n) Question 2.5 n + log n-6(n log n) Question 2.6 n+nlog n3 + n log nn-θ(nlog n)
Question 2.7 Question 2.8 Question 2.9 Question 2.10 n3 n log nn2-e (n log n)
0 0
Add a comment Improve this question Transcribed image text
Answer #1

e-notaton! aen)) as and no ch -Hhat tn2 Pt is simp A mptoc notation of cevaliy ten) gon) Co0 gCn)an ed 3 loons +n 3ilt n+1 2. 스 7n กา False soue ferse pltase do nent post fol srumann

Add a comment
Know the answer?
Add Answer to:
Here are some common orders of growth, ranked from no growth to fastest growth: Θ(1) — constant time takes the same amount of time regardless of input size Θ(log n) — logarithmic time Θ(n) — linear t...
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