I'm trying to learn and understand how to find tightest big O notation. Here I need to find tightest big-O notation for these algorithms, and I did the calculating for the running time.
Now I need to prove or find the tightest big-O notation but I'm not sure where should I start.
1) 2 n^2+ 2 n +2= O(n^2)
2) 6 n log n +4n +2 =O (n log n)
3) 6 X1000 n+ 4n +2 = O(n)
Not really sure how to solve this part from question. How I make sure my equation is tightest big-O?
Any help or suggestions would be greatly appreciated, thanks!