$O(5N + 3M^2)$
→ $O(N+M^2)$
Copy the Array A into empty Array B(A’s length = N)
→ $O(N)$
Find the max/min item in Array C(C’s length = N)
→ $O(N)$
Sort the array D(D’s length = N)
→ $O(N^2)$
Find the N-th item in the Fiboonacci series
→ $O(2^N)$