Question: design an algorithm to find minimum element and the maximum element for an array of n elements in running of O(n)
design an algorithm to find minimum element and the maximum element for an array of n elements in running of O(n)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
