Re: [algogeeks] amazon qn

2012-05-21 Thread UTKARSH SRIVASTAV
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. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received this message

[algogeeks] UTKARSH SRIVASTAV wants to chat

2012-04-19 Thread UTKARSH SRIVASTAV
--- UTKARSH SRIVASTAV wants to stay in better touch using some of Google's coolest new products. If you already have Gmail or Google Talk, visit: http://mail.google.com/mail/b-341abdeb38-f5ad4e7b51-KzxsFUtoqQ8sR8qWabySI0sb3lI

Re: [algogeeks] Re: dp problem

2012-04-14 Thread UTKARSH SRIVASTAV
on the same ? On Fri, Apr 13, 2012 at 4:57 PM, UTKARSH SRIVASTAV usrivastav...@gmail.com wrote: anyone ? On Fri, Apr 13, 2012 at 12:09 PM, UTKARSH SRIVASTAV usrivastav...@gmail.com wrote: how to solve these type of problems http://www.spoj.pl/problems/GNY07H/ means how

[algogeeks] dp problem

2012-04-13 Thread UTKARSH SRIVASTAV
how to solve these type of problems http://www.spoj.pl/problems/GNY07H/ means how to approach this problem by dp. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group

[algogeeks] Re: dp problem

2012-04-13 Thread UTKARSH SRIVASTAV
anyone ? On Fri, Apr 13, 2012 at 12:09 PM, UTKARSH SRIVASTAV usrivastav...@gmail.com wrote: how to solve these type of problems http://www.spoj.pl/problems/GNY07H/ means how to approach this problem by dp. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD

Re: [algogeeks] Re: Run Length Decoding... inplace

2012-03-23 Thread UTKARSH SRIVASTAV
@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. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received this message because

Re: [algogeeks] Re: Run Length Decoding... inplace

2012-03-23 Thread UTKARSH SRIVASTAV
in lab.Did u found out the bug in this approach?) Saurabh Singh B.Tech (Computer Science) MNNIT blog:geekinessthecoolway.blogspot.com On Fri, Mar 23, 2012 at 6:38 PM, UTKARSH SRIVASTAV usrivastav...@gmail.com wrote: I am considering that I am having total size of buffer that is maximum

Re: [algogeeks] spoj

2012-02-13 Thread UTKARSH SRIVASTAV
not abe to get solution On Mon, Feb 13, 2012 at 10:49 AM, atul anand atul.87fri...@gmail.comwrote: what problem are you facing ...??? On Thu, Feb 9, 2012 at 12:01 PM, UTKARSH SRIVASTAV usrivastav...@gmail.com wrote: I have been doing this question for a time but was not able to solve

[algogeeks] spoj

2012-02-08 Thread UTKARSH SRIVASTAV
I have been doing this question for a time but was not able to solve it. It is based josephus problem ? Has anybody any idea http://www.spoj.pl/problems/WTK/ -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received this message because you are subscribed to the Google

[algogeeks] OS question

2012-01-25 Thread UTKARSH SRIVASTAV
address space any good link on system wide page table may also solve my problem -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks

Re: [algogeeks] OS question

2012-01-25 Thread UTKARSH SRIVASTAV
can't get :( On Wed, Jan 25, 2012 at 5:19 PM, Rahul raikra...@gmail.com wrote: Google search this 6.033 You will get the basics of processor mode of execution and rings of execution Hope I got the question ! On Wed, Jan 25, 2012 at 4:21 PM, UTKARSH SRIVASTAV usrivastav...@gmail.com wrote

Re: [algogeeks] Re: vertical level sum in Binary tree

2012-01-21 Thread UTKARSH SRIVASTAV
be max(no. of nodes to the extreme left from the root , no. of nodes to the extreme right from root) On Fri, Jan 20, 2012 at 10:35 PM, UTKARSH SRIVASTAV usrivastav...@gmail.com wrote: void vsum(struct node *p ,int i) { if(p) { sum[i] = sum[i] + p-data; vsum(p-left,i

[algogeeks] segment tree

2012-01-21 Thread UTKARSH SRIVASTAV
Hi can anyone please give a good link to study lazy propagation in segment tree with example or code. I know segment tree but not about lazy propagation. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received this message because you are subscribed to the Google Groups

Re: [algogeeks] Re: vertical level sum in Binary tree

2012-01-21 Thread UTKARSH SRIVASTAV
why arun? On Sun, Jan 22, 2012 at 1:44 AM, Arun Vishwanathan aaron.nar...@gmail.comwrote: my god why do companies question like this??? On Sat, Jan 21, 2012 at 4:10 AM, UTKARSH SRIVASTAV usrivastav...@gmail.com wrote: yes atul I wanted to say only that may be not able to convey it . n

Re: [algogeeks] Re: vertical level sum in Binary tree

2012-01-20 Thread UTKARSH SRIVASTAV
. 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. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received this message because you are subscribed

[algogeeks] SUFFIX TREE

2012-01-19 Thread UTKARSH SRIVASTAV
anyone knows good tutorial or lecture of ukkonone algorithm ( algorithm to make suffix tree in linear time ) . It must have also how to code it especially suffix links -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received this message because you are subscribed

Re: [algogeeks] Re: rectangle of max sum MS Q

2012-01-17 Thread UTKARSH SRIVASTAV
, UTKARSH SRIVASTAV usrivastav...@gmail.com wrote: I have an approach to solve this question my approach is basesd on given question and it's solution so first of all understand this question and it's solution http://www.spoj.pl/problems/HISTOGRA/ http://www.ideone.com/lfORK I know I may

Re: [algogeeks] Histogram rectangle

2012-01-17 Thread UTKARSH SRIVASTAV
...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send

Re: [algogeeks] Re: rectangle of max sum MS Q

2012-01-16 Thread UTKARSH SRIVASTAV
solution using above algorithm and keep track of maximum area } then maximum area which you will get will give you solution -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group

Re: [algogeeks] C QUESTION???

2012-01-06 Thread UTKARSH SRIVASTAV
to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post

Re: [algogeeks] find point lies in side circle

2012-01-05 Thread UTKARSH SRIVASTAV
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. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received this message

Re: [algogeeks] Facebook Question

2011-12-21 Thread UTKARSH SRIVASTAV
email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received this message because you are subscribed to the Google Groups Algorithm Geeks

Re: [algogeeks] Re: given a stream of numbers FIND MEDIAN

2011-12-19 Thread UTKARSH SRIVASTAV
. 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. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received this message because you are subscribed

Re: [algogeeks] function overloading query

2011-11-21 Thread UTKARSH SRIVASTAV
to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group

Re: [algogeeks] Re: spoj problem

2011-11-16 Thread UTKARSH SRIVASTAV
options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks

Re: [algogeeks] Re: spoj problem

2011-11-15 Thread UTKARSH SRIVASTAV
this group at http://groups.google.com/group/algogeeks?hl=en. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- 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

Re: [algogeeks] Re: How to find highest power of 2 in an integer

2011-11-14 Thread UTKARSH SRIVASTAV
to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post

[algogeeks] NULL pointer

2011-11-14 Thread UTKARSH SRIVASTAV
is subtraction of two NULL pointers defined ? -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- 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

Re: [algogeeks] Amazon Question

2011-11-13 Thread UTKARSH SRIVASTAV
this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received this message because you are subscribed to the Google Groups

Re: [algogeeks] Re: an os question

2011-11-13 Thread UTKARSH SRIVASTAV
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. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You

Re: [algogeeks] BST question

2011-11-11 Thread UTKARSH SRIVASTAV
. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- 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

Re: [algogeeks] Weird Behaviour of Fork()

2011-11-11 Thread UTKARSH SRIVASTAV
to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group

Re: [algogeeks] Re: Questions

2011-11-10 Thread UTKARSH SRIVASTAV
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. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD

Re: [algogeeks] Re: Given a String with unnecessary spaces, compact it in place

2011-11-10 Thread UTKARSH SRIVASTAV
. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email

Re: [algogeeks] Amazon Interview Question

2011-11-10 Thread UTKARSH SRIVASTAV
sorry it was incomplete On Fri, Nov 11, 2011 at 2:53 AM, UTKARSH SRIVASTAV usrivastav...@gmail.comwrote: one = zero = 0; two = n-1; //n is length of string while(two=one) { switch(a[one]) { case '0' : swap(a[zero],z[one]); one++;zero++;break; case '1' : one

Re: [algogeeks] Amazon Interview Question

2011-11-10 Thread UTKARSH SRIVASTAV
this group at http://groups.google.com/group/algogeeks?hl=en. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- 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

Re: [algogeeks] Re: Code it...

2011-11-10 Thread UTKARSH SRIVASTAV
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 options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- *UTKARSH

Re: [algogeeks] Re: Code it...

2011-11-10 Thread UTKARSH SRIVASTAV
: File.writelines(i) File.close() This prints a new value every time the program runs... The only catch is that you have to shut the program after running it once and then again restart it.. Please tell if there is any error On Fri, Nov 11, 2011 at 1:48 AM, UTKARSH SRIVASTAV usrivastav...@gmail.com wrote

Re: [algogeeks] Re: Inplace Array Convertion

2011-10-14 Thread UTKARSH SRIVASTAV
@siddharth what is the complexity? -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- 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

Re: [algogeeks] Re: STRING help

2011-09-30 Thread UTKARSH SRIVASTAV
...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send

Re: [algogeeks] ARRAY PROBLEM

2011-09-29 Thread UTKARSH SRIVASTAV
. 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. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received this message because you are subscribed

Re: [algogeeks] Amazon - array problem

2011-09-29 Thread UTKARSH SRIVASTAV
...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send

Re: [algogeeks] is it possible??

2011-09-29 Thread UTKARSH SRIVASTAV
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. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received

Re: [algogeeks] Re: Amazon OS question

2011-09-26 Thread UTKARSH SRIVASTAV
to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group

[algogeeks]

2011-09-18 Thread UTKARSH SRIVASTAV
how to find second largest element than current element in an array given condition that we have to find that second largest element from index 1 to the index of the current element only in most efficient way -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received

[algogeeks]

2011-09-18 Thread UTKARSH SRIVASTAV
how to find second largest element than current element in an array given condition that we have to find that second largest element from index 1 to the index of the current element -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received this message because you

Re: [algogeeks] A logical Question

2011-09-15 Thread UTKARSH SRIVASTAV
. 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 options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT

Re: [algogeeks] Re: MICROSOFT WRITTEN IN VASAVI

2011-09-14 Thread UTKARSH SRIVASTAV
options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks

Re: [algogeeks]

2011-09-14 Thread UTKARSH SRIVASTAV
/amolsharma99http://in.linkedin.com/pub/amol-sharma/21/79b/507http://youtube.com/amolsharma99 On Thu, Sep 15, 2011 at 1:13 AM, rahul vatsa vatsa.ra...@gmail.comwrote: i tried ur code it gives the same output as wen u execute the command on terminal. On Wed, Sep 14, 2011 at 3:03 PM, UTKARSH SRIVASTAV

Re: [algogeeks]

2011-09-14 Thread UTKARSH SRIVASTAV
@rahul have you tried it n your system and if yes then which os? On Thu, Sep 15, 2011 at 2:28 AM, UTKARSH SRIVASTAV usrivastav...@gmail.comwrote: yes it's giving wrong output on terminal using gcc compiler in ubuntu On Thu, Sep 15, 2011 at 1:25 AM, Amol Sharma amolsharm...@gmail.comwrote

Re: [algogeeks]

2011-09-14 Thread UTKARSH SRIVASTAV
is bash.*switch to sh mode and you will realize whats happening.* On Thu, Sep 15, 2011 at 2:43 AM, UTKARSH SRIVASTAV usrivastav...@gmail.com wrote: @rahul have you tried it n your system and if yes then which os? On Thu, Sep 15, 2011 at 2:28 AM, UTKARSH SRIVASTAV usrivastav...@gmail.com

Re: [algogeeks] Re:

2011-09-06 Thread UTKARSH SRIVASTAV
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 options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- *UTKARSH SRIVASTAV CSE-3 B

[algogeeks] size of

2011-09-06 Thread UTKARSH SRIVASTAV
why sizeof(vod) is giving ans 1 not error? -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- 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

[algogeeks] Re: size of

2011-09-06 Thread UTKARSH SRIVASTAV
and why sizeof(NULL) is giving 4 any ans? -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post

Re: [algogeeks] Re: c output .. help plz

2011-09-06 Thread UTKARSH SRIVASTAV
printf behaves abnormally when it sees arguments not matching with its datatype @dave printf(%d,(int)3.14*6.25*6.25); is also giving 0. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received this message because you are subscribed to the Google Groups

Re: [algogeeks] Re: Please provide Code to Find kth Smallest or kth Largest element in unsorted array in liner time ?

2011-09-06 Thread UTKARSH SRIVASTAV
find by sing median of median methods -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- 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

[algogeeks] ubuntu help

2011-09-04 Thread UTKARSH SRIVASTAV
hi anyone knows how to play vlc in root .i know root is not allowed by default but i want to know some mean -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group

[algogeeks]

2011-09-04 Thread UTKARSH SRIVASTAV
can anyone please explain the different arguments especially (char*)0 in execlp function. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group

Re: [algogeeks] c question

2011-09-03 Thread UTKARSH SRIVASTAV
. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- 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

Re: [algogeeks] arrays in c

2011-09-03 Thread UTKARSH SRIVASTAV
an array variable is an *unmodified* lvalue variable -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- 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

Re: [algogeeks] Re: Find square root a number

2011-08-30 Thread UTKARSH SRIVASTAV
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 options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year

Re: [algogeeks] tejas 2010 coding test

2011-08-29 Thread UTKARSH SRIVASTAV
. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- 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

Re: [algogeeks] confusion

2011-08-29 Thread UTKARSH SRIVASTAV
int *p[10]=array of pointers meaning they can can point to 10 integer type locations int (*p)[10] =pointer of array which can point to an array of size 10 *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received this message because you are subscribed to the Google Groups

Re: [algogeeks] SPOJ Problem DIVSUM

2011-08-29 Thread UTKARSH SRIVASTAV
; if(i!=l) d=d+l; } } printf(%lld\n,d-n); t--; } return (0); } -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received

Re: [algogeeks] Re: c program

2011-08-28 Thread UTKARSH SRIVASTAV
. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- 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

[algogeeks]

2011-08-28 Thread UTKARSH SRIVASTAV
is sleep time calculated in various times by tms class -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- 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

Re: [algogeeks] c program

2011-08-28 Thread UTKARSH SRIVASTAV
...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email

Re: [algogeeks] c program

2011-08-28 Thread UTKARSH SRIVASTAV
oh i didn't read the earlier postsystem call not allowed my file name was p8.c On Mon, Aug 29, 2011 at 3:29 AM, UTKARSH SRIVASTAV usrivastav...@gmail.comwrote: #includestdio.h main() { system(cat p8.c); } On Sun, Aug 28, 2011 at 7:43 PM, teja bala pawanjalsa.t

[algogeeks]

2011-08-28 Thread UTKARSH SRIVASTAV
can anyone give the logic or code of iterative version of sement tree...not recursive -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email

[algogeeks]

2011-08-27 Thread UTKARSH SRIVASTAV
why is it giving run time error http://www.ideone.com/DhIX0 -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- 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

Re: [algogeeks]

2011-08-27 Thread UTKARSH SRIVASTAV
@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. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received this message because you

Re: [algogeeks] is it possible to access data from memory location 0?

2011-08-26 Thread UTKARSH SRIVASTAV
...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group

[algogeeks]

2011-08-17 Thread UTKARSH SRIVASTAV
is there a way to pass some variables which are shared by both parents and child and some which have different copies at the same time in fork -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received this message because you are subscribed to the Google Groups Algorithm

Re: [algogeeks] Amazon Interview Q

2011-08-17 Thread UTKARSH SRIVASTAV
...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group

Re: [algogeeks] C doubt

2011-08-11 Thread UTKARSH SRIVASTAV
#includestdio.h main() { int a[10],i; int (*p)[10]; p=a; for( i=0;i10;i++) { *((int *)p+i)=i; } for( i=0;i10;i++) { printf( %d,a[i]); } } -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT

Re: [algogeeks] goldman sachs paper

2011-08-10 Thread UTKARSH SRIVASTAV
. 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. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received this message because you are subscribed

Re: [algogeeks] Re: C question.. increment decrement operator..

2011-08-07 Thread UTKARSH SRIVASTAV
...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send

Re: [algogeeks] Re: C question.. increment decrement operator..

2011-08-07 Thread UTKARSH SRIVASTAV
but these questions don't have an algo On Sun, Aug 7, 2011 at 2:08 PM, Gary Drocella gdroc...@gmail.com wrote: I thought this was algogeeks, not company question geeks. On Aug 7, 4:27 pm, UTKARSH SRIVASTAV usrivastav...@gmail.com wrote: please these questions are compiler dependent and have

Re: [algogeeks] Fwd: max product

2011-08-07 Thread UTKARSH SRIVASTAV
, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received this message because you are subscribed to the Google Groups Algorithm

[algogeeks] Question

2011-08-06 Thread UTKARSH SRIVASTAV
]; ans[i][oop]='\0'; } while( (scanf(%s,s))!=EOF ) { n=fun(s); printf(%s\n,ans[n]); } return 0; } *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received this message because you are subscribed to the Google Groups

[algogeeks] Re: Question

2011-08-06 Thread UTKARSH SRIVASTAV
-- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- 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

[algogeeks] Re: Question

2011-08-06 Thread UTKARSH SRIVASTAV
thnx saurabh i got ac On Sat, Aug 6, 2011 at 4:22 AM, UTKARSH SRIVASTAV usrivastav...@gmail.comwrote: MY LOGIC IS .LET AFTER N STEPS RELATION BETWEEN NUMBER OF ONES(1),ZEROONE(01) AND DOUBLEZERO(00) IS INITIALLY ONE=1 ZEROONE=0 DOUBLEZERO=0 FOR N=1 K=ONE L=ZEROONE M

Re: [algogeeks] inorder

2011-08-06 Thread UTKARSH SRIVASTAV
if node is right child of it's parent then keep on moving upwards until you find a parent which is left child of it's parent then it will be the inorder succesorif you reach node then no inorder succesor -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received

Re: [algogeeks] inorder

2011-08-06 Thread UTKARSH SRIVASTAV
sorry two cases only On Sat, Aug 6, 2011 at 6:21 AM, UTKARSH SRIVASTAV usrivastav...@gmail.comwrote: pseudo code three cases are possible 1.node has left and right child then inorder succesor will be leftmost child of right child 2. node has left child and no right child

Re: [algogeeks] Re: Tug of War

2011-08-06 Thread UTKARSH SRIVASTAV
/group/algogeeks?hl=en. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- 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

[algogeeks] question

2011-08-06 Thread UTKARSH SRIVASTAV
difference between 64-bit compiler and 64-bit operating system..sizeof any data type depends on compiler or operating system -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- You received this message because you are subscribed to the Google Groups Algorithm Geeks

Re: [algogeeks] array pointer

2011-08-05 Thread UTKARSH SRIVASTAV
I THINK THIS WILL CLEAR YOUR DOUBT x = address of first element of array=x[0][0] *x=addrss of x[0][0]; **x=x[0][0] x=address of x[0][0]; x[0]=address of x[0][0]; x[1]=address of x[1][0] *x[2]=address of x[2][0]; so 2 is wrong -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3Rd Year @MNNIT ALLAHABAD

Re: [algogeeks] difference between the two

2011-08-05 Thread UTKARSH SRIVASTAV
+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 2nd Year @MNNIT ALLAHABAD* -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post

Re: [algogeeks] Structure Q

2011-08-05 Thread UTKARSH SRIVASTAV
=100 or (*head).x=100 *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- 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

Re: [algogeeks] simple doubt

2011-08-05 Thread UTKARSH SRIVASTAV
*UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT ALLAHABAD* -- 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

Re: [algogeeks] Re: latest google interview questions

2011-08-03 Thread UTKARSH SRIVASTAV
this group at http://groups.google.com/group/algogeeks?hl=en. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 2nd Year @MNNIT ALLAHABAD* -- 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

[algogeeks] Re: latest google interview questions

2011-08-03 Thread utkarsh srivastav
bhai logo ab bas karo...raat bhar coding karke tired ho jane ke bad ke post ka til ka taad mat banayo... i m sorry On Aug 3, 10:51 pm, Manmeet Singh mans.aus...@gmail.com wrote: will all u stop all this. dont put any comments on all this now. On Wed, Aug 3, 2011 at

Re: [algogeeks] TLE again

2011-08-02 Thread UTKARSH SRIVASTAV
); } } return 0; } -- *UTKARSH SRIVASTAV CSE-3 B-Tech 2nd Year @MNNIT ALLAHABAD* -- 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

[algogeeks] latest google interview questions

2011-08-02 Thread UTKARSH SRIVASTAV
hi I got intern in google ...but i was not able to do some question of written paper 1. main() { printf(hello); } OUTPUT- hello Why the output is coming hello? 2. Who developed C language ? I gave the answer Yashwant Kanetkarbut the interviewer said it was Dennis

Re: [algogeeks] Unique characters in a string

2011-07-25 Thread UTKARSH SRIVASTAV
+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 2nd Year @MNNIT ALLAHABAD* -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post

Re: [algogeeks] snake and ladder

2011-05-28 Thread utkarsh srivastav
sorry snake and ladder On Sat, May 28, 2011 at 2:27 AM, Dilogical King usdilogi...@gmail.comwrote: what are the apllication of anake and ladder algo in c++ -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email

[algogeeks] ms ques

2011-05-27 Thread UTKARSH SRIVASTAV
test cases for internet explorer -- *UTKARSH SRIVASTAV CSE-3 B-Tech 2nd Year @MNNIT ALLAHABAD* -- 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

Re: [algogeeks] [brain teaser] MATHS TRICK TEASER 9 may

2011-05-10 Thread UTKARSH SRIVASTAV
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 options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- *UTKARSH SRIVASTAV CSE-3

Re: [algogeeks] Re: If any one have algorithms for interviews by adnan aziz ebook... Please mail ...

2011-05-08 Thread UTKARSH SRIVASTAV
://groups.google.com/group/algogeeks?hl=en. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 2nd Year @MNNIT ALLAHABAD* -- 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

Re: [algogeeks] Re: imporatnt(need help)

2011-04-28 Thread UTKARSH SRIVASTAV
?hl=en. -- *UTKARSH SRIVASTAV CSE-3 B-Tech 2nd Year @MNNIT ALLAHABAD* -- 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

  1   2   >