How should I go about determining the upper bound of the complexity of these code snippets in terms of big O? I'm just learning about these concepts and am looking for : clues, straight-out responses, best resources on learning more.
I found this other thread, but i'm still having trouble adapting the answer.
I'm given these examples:
For J = 1 to 10000000000000
C[J] = A[J] + B[J]
For J = 1 to N
C[J] = A[J] * B[J]
For J = 1 to N
For K = 1 to N
C[J][K] = A[J] * B[K]
For I = 1 to N
For J = 1 to 10000000000000
For K = 1 to N
C[I][J] = A[J][K] * B[K][I]