151k views
3 votes
After doing some research you have two candidate algorithms. According to your research, Algorithm 1 has cost Θ(n3), while algorithm 2 is listed as Ο(n4) and Ω(n2). Which one do you choose? How do you decide? What would you have to know to choose the other one

User Neydroid
by
4.7k points

1 Answer

0 votes
Usually go with the larger one first
User Jinge
by
5.3k points