So we I have the Matrix chain order algorithm which finds the optimal way in multiplying matrices. I see why it would have a run time of O(n^3) but having trouble proving its big-Omega(n^3). The algorithm is below Algorithm Matrix-Chain-Order(p)
1. n ← p.length − 1
2. for i ← 1 to n do
3. m[i, i] ← 0
4. for l ← 2 to n do
5. for i ← 1 to n − l + 1 do
6. j ← i + l − 1
7. m[i, j] ← ∞
8. for k ← i to j − 1 do
9. q ← m[i, k] + m[k + 1, j] + pi−1pkpj (these are P(base)i-1
10. if q < m[i, j] then
11. m[i, j] ← q
12. s[i, j] ← k
13. return s
O(n^3) is obvious since there are three loops which are nested and run O(n) times. How would I go about finding big-Omega(n^3)