$\Theta(n)$ also implies that $\Omega(n)$ holds, @Swapnil Naik
Yes, but Θ(n) would be more appropriate for a given condition.
I think a simple looping through the array once is enough
FindMax( A[] ): max=A[0] for i in A: if(i>max): max=i return max
64.3k questions
77.9k answers
244k comments
80.0k users