If I have some algorithm that runs at best n time and at worst n^2 time, is it fair to say that the algorithm is Big Omega (n)?
Does this mean that the algorithm will run at least n (time)?
I am just not sure if I have the right idea here.
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
For Big Oh, you will state the worst time as the time it takes, in your case
O(n^2). For Big Omega, you state the smallest time, in this casef(n).Also see this guide to Big O and this discussion of Big O and Big Omega.