News
and use the for loop for checking each element in the array is maximum than 0th index or not, if any of the element maximum than 0th index element then max element is that element. 2. we have to find ...
Test repository. Contribute to ErVishal95/Hello-World development by creating an account on GitHub.
If the array were sorted, it would be an O (1) operation to get min and max values. Min and Max values in an unsorted array is O (N).
Results that may be inaccessible to you are currently showing.
Hide inaccessible results