@Neha take 42, 21 and 1

42 ^ 1 =43
while 42 ^21 =63


On Fri, Aug 26, 2011 at 10:28 PM, Neha Singh <[email protected]>wrote:

> Sort the nos., which can be done in O(nlogn)
> Now the 1st and the last integers are the required integers.
>
> --
> 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.
>



-- 

--------------------------------------------------------------------
Jai Prakash Gupta
Third Year Undergraduate
Computer Science and Engineering Department
IIT Kharagpur

-- 
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