techendeavour is abt to visiting
so plz share some info.. abt written or interview.
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send emai
plz who have the pdf of this book plz mail it for algogeeks grp..
On Thu, Aug 18, 2011 at 12:10 AM, SANDEEP CHUGH wrote:
> mail to me too
>
> On Thu, Aug 18, 2011 at 12:04 AM, rajesh yerneni
> wrote:
>>
>> I could not download the file, please mail it to me tooo...
>>
>> --
>> You re
to implement a binary search in an array which is sorted but roated by
some k places which is nt kwn time complexity O(logn)
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
(int *) it is derefrencing of any void pointer into integer.
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to
algog
i m using redhat n it is giving lvalue...
On Mon, Aug 8, 2011 at 11:38 PM, raj kumar wrote:
> it's running fine on my machine you can check
> z=(--i)--;
> even this works fine
> z=(--i)++;
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm G
it'll also give lvalue..
On Mon, Aug 8, 2011 at 11:31 PM, raj kumar wrote:
> @jagrati
> so why it works fine
> z=(--i)--;
>
> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to algogeeks@googlegroup
as i think -- op has right to left assocoativity so --(i--) so i--
will take palce 1st so aftr ; it'll b 9 so no dectement op for const
thats y it is giving lvalue error
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to t
coz u r trying to print float of any integer value so by the memory
representation of float it'll giv 0.0
On Mon, Aug 8, 2011 at 10:30 PM, Shashank Jain wrote:
> oh yeah, thx karthik.
> Shashank Jain
> IIIrd year
> Computer Engineering
> Delhi College of Engineering
>
>
> On Mon, Aug
thanku. yes i got it...
Seriously nice xplanatin...
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to
algogeeks+
hw is it possible frm this code ???/
Node * findNToLastNode( Node *head, int N )
{
int i = 0;
Node *current, *behind;
current = head;
for( i = 0; i < N; i++ ) {
if( current->next ) {
current = current->next;
} else {
return NULL;
finding the depth or height of a tree.
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to
algogeeks+unsubscr...@googlegroups.com.
Fo
#define max(a,b)((a>b)?a:b)
use parenthese thn it will giv the correct o/p
On Mon, Aug 8, 2011 at 3:27 PM, Kamakshii Aggarwal
wrote:
> #include
>
> #define max(a,b)(a>b)?a:b
> int main()
> {
> int m,n;
> m=3+max(2,3);
> n=2*max(3,2);
> printf("%d,%d",m,n);
> getchar();
> return 0;
ee the stray
> characters and delete it.
>
> On Aug 6, 10:57 pm, jagrati verma wrote:
>> error: stray ‘\342’ in program
>
> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send
dress bt it has not modified the value...chk
>>> the abv link...
>>> On Sat, Aug 6, 2011 at 8:13 PM, saurabh singh wrote:
>>>>
>>>> http://ideone.com/Wszkg
>>>> On Sat, Aug 6, 2011 at 8:03 PM, jagrati verma
>>>> wrote:
>>&
error: stray ‘\342’ in program
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to
algogeeks+unsubscr...@googlegroups.com.
For more op
how can modify constant variable with the help of pointers.
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to
algogeeks+unsubscr...@
coz we do in for loop 1st initialization thn condition thn increment so in
1st for loop it will print the value thn increment the i's value so itll
behave like a i++
dats y no diffrence in the o/p
:):)
--
You received this message because you are subscribed to the Google Groups
"Algorithm Ge
ndition ++i becomes zero when there is round of short and you
> get zero at that time the loop terminates.
>
> The format specifier for unsigned int is used hence positive values
> are printed.
> If the format specifier for %d is used then the results would be more
> informative.
it is nt an infinite loop it ends at 4294967295
On Tue, Aug 2, 2011 at 12:53 AM, vijay goswami wrote:
> its an infinite loop
>
> On Tue, Aug 2, 2011 at 12:21 AM, jagrati verma <
> jagrativermamn...@gmail.com> wrote:
>
>> #include
>> main()
>> {
>>
#include
main()
{
short int i=0;
for(i<=5 && i>=-1;++i;i>0)
printf("%u\n",i);
printf("\n");
return 0;
}
o/p is 1.
4294967295 hw???
--
You received this message because you are subscribed to the Google Groups
"
no ebook for exploring c yashwant kanetkar
On Sat, Jul 30, 2011 at 8:36 PM, aanchal goyal wrote:
> I have that. I want exploring C.
>
>
> On Sat, Jul 30, 2011 at 8:27 PM, rahul wrote:
>
>> If u really want to explore the C, read "Deep C Secrets"
>>
>> On Sat, Jul 30, 2011 at 8:25 PM, aa
an array containing +ve and -ve integers.find sub array with the largest
sum
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to
vijay x=y=z=-1
so for ++x&&++y||++z
++x=0
so 1st condition will get false so no increment on y's value(=-1) so
++x&&++y=0
and ++z=0
>
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@goog
23 matches
Mail list logo