ost to this group, send email to algogeeks@googlegroups.com.
> To unsubscribe from this group, send email to
> algogeeks+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>
--
Regards,
Shafi Ahmad
http://in.li
>> > - Show quoted text -
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Algorithm Geeks" group.
>> To post to this group, send email to algoge...@googlegroups.com.
>> To unsubscribe from this group, send
this group, send email to algoge...@googlegroups.com.
> To unsubscribe from this group, send email to
> algogeeks+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>
--
Regards,
Shafi Ahmad
The difficult we do immediately
printf("%d\n",printf("%d",printf("%d",i)));
<- 1 --> This will print 1
and printf returns 1
< 2 --> This will print the
return value of printf <1> and it will return 1.
<--- 3
pivot = low;
int l=low;
int h = high;
if(l<=h){
while(larr[pivot]) h--;
if(l h ){
return findMedian(arr, h+1, high, mid);
}else{
return arr[h];
}
On Tue, Jul 27, 2010 at 1:33 PM, Shafi Ahmad wrote:
> /** find the Middle element in the
ed this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to algoge...@googlegroups.com.
> To unsubscribe from this group, send email to
> algogeeks+unsubscr...@googlegroups.com.
> For more options, visit th
;> return 0;
>> }
>>
>> O(m+n) complexity
>> Ps. i'm returning true if the number equals a[i]+b[j] and not just when it
>> equals a single element in any array
>>
>>
>>
>> On Fri, Jul 23, 2010 at 9:22 AM, Shafi Ahmad
>> wrote:
&
ABAD
>
> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to algoge...@googlegroups.com.
> To unsubscribe from this group, send email to
> algogeeks+unsubscr...@googlegroups.c
bed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to algoge...@googlegroups.com.
> To unsubscribe from this group, send email to
> algogeeks+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.goo