Jeanie Lamy
Sunday, August 14, 2011
Help me to create this algorithm?
describe a recursive algorithm for finding both the minimum and the maximum elements in an array A of n elements. Your method should return a pair (a,b), where a is the minimum element and b is the maximum. What is the running time of your method?
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment