I 've got error but anyway thanx ........

On Thu, Jun 9, 2011 at 10:47 AM, Amit Chauhan <[email protected]>wrote:

> Hi,
>
> Your recursive call for binary_search function is going in infinite loop.
> So please look in to the logic for binary search function.
>
> And one more thing once you sort the array and after this you can search
> the pair  in linear time { for searching the element}.
>
>
> *Thanks and Regards
> *
> *Amit K Chauhan*
>
>
>
> *
> ........................................................................................................
>    There is always, always, always something to be thankful for !!
>
> ........................................................................................................
> *
>
>
> On Thu, Jun 9, 2011 at 8:57 AM, D.N.Vishwakarma@IITR <[email protected]>wrote:
>
>> we have to find solution in O(nlgn)
>>
>> On Thu, Jun 9, 2011 at 8:22 AM, D.N.Vishwakarma@IITR 
>> <[email protected]>wrote:
>>
>>> thanx in advance
>>>
>>> --
>>> **With Regards
>>> Deoki Nandan Vishwakarma
>>> IITR MCA
>>> *
>>> *
>>>
>>
>>
>>
>> --
>> **With Regards
>> Deoki Nandan Vishwakarma
>> IITR MCA
>> *
>> *
>>
>>  --
>> 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.
>



-- 
**With Regards
Deoki Nandan Vishwakarma
IITR MCA
*
*

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