Don't you think sorting the array and take the first & last element ! ! !

*Subhransu Panigrahi
*
*Mobile:* *+91-9840931538*
 *Email:* [email protected]



On Wed, Mar 30, 2011 at 12:43 PM, UTKARSH SRIVASTAV <[email protected]
> wrote:

> Problem
> Can anyone give me the efficient algo to know the the maximum difference of
> two numbers in an array............please only tell the algo not code
> -
> *UTKARSH SRIVATAV*
> *CSE-3
> B-Tech 2nd Year
> @MNNIT ALLAHABAD*
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to