asked 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

asked
User Neydroid
by
7.4k points

1 Answer

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