0
3.0kviews
Finding Minimum and Maximum Algorithm and Analysis
1 Answer
| written 6.7 years ago by |
consider a simple problem that can be solved by divide and conquer technique.
Problem Statement: The Max-Min Problem in algorithm analysis is finding the maximum and minimum value in an array.
Solution
To find the maximum and minimum numbers in a given array numbers[] of size n, the following algorithm …