Re: [algogeeks] C Function Pointer(Typedef)

2012-10-29 Thread Shafi Ahmad
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

Re: [algogeeks] Re: ALGORITHM

2010-07-29 Thread Shafi Ahmad
>> > - 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

Re: [algogeeks] confusion

2010-07-29 Thread Shafi Ahmad
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

Re: [algogeeks] confusion

2010-07-29 Thread Shafi Ahmad
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

Re: [algogeeks] Re: algorithm

2010-07-27 Thread Shafi Ahmad
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

Re: [algogeeks] Re: algorithm

2010-07-27 Thread Shafi Ahmad
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

Re: [algogeeks] You have 2 arrays of integer. You have to write a function, which take an integer as input and returns bool. Example array 1 has {1,5,10} array 2 has {2,5,9}. Func(3) should return t

2010-07-24 Thread Shafi Ahmad
;> 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: &

Re: [algogeeks] find k-th maximum in an unsorted array

2010-07-22 Thread Shafi Ahmad
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

Re: [algogeeks] You have 2 arrays of integer. You have to write a function, which take an integer as input and returns bool. Example array 1 has {1,5,10} array 2 has {2,5,9}. Func(3) should return t

2010-07-22 Thread Shafi Ahmad
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