Algorithm to find maximum and minimum numbers, Data Structure & Algorithms

Give an algorithm to find both the maximum and minimum of 380 distinct numbers that uses at most 568 comparisons.

Posted Date: 2/16/2013 2:52:41 AM | Location : United States







Related Discussions:- Algorithm to find maximum and minimum numbers, Assignment Help, Ask Question on Algorithm to find maximum and minimum numbers, Get Answer, Expert's Help, Algorithm to find maximum and minimum numbers Discussions

Write discussion on Algorithm to find maximum and minimum numbers
Your posts are moderated
Related Questions
Given is the structure of an AVL tree: struct avl { struct node *left; int info; int bf; struct node *right; }; 2) A multiway tree of n order is an ord

A binary tree is a tree data structures in which each node have at most two child nodes, generally distinguished as "right" and "left". Nodes with children are called parent nodes,

Ask question #explain it beriflyMinimum 100 words accepted#

Q. Explain any three methods or techniques of representing polynomials using arrays. Write which method is most efficient or effective for representing the following polynomials.

What is Access Restrictions Structured containers with access restrictions only allow clients to add, remove and examine elements at certain locations in their structure. For

One can change a binary tree into its mirror image by traversing it in Postorder is the only proecess whcih can convert binary tree into its mirror image.


Elaborate the symbols of abstract data type length(a)-returns the number of characters in symbol a. capitalize(a)-returns the symbol generated from a by making its first cha

the deference between insertion,selection and bubble sort

Illustrates the program for Binary Search. Program: Binary Search /*Header Files*/ #include #include /*Functions*/ void binary_search(int array[ ], int value,