[algogeeks] Job opportunity

2017-10-11 Thread Utkarsh Srivastav
Echosense technologies is looking for Senior Java Developer and Senior Android Developer. CTC: up to 8 LPA Location : Southcity2, Gurgaon Participate in Skillsanta Hiring Challenge to apply. https://skillsanta.com Utkarsh Srivastav Chief Technical Officer SkillSanta Contact : +91-9560711552

[algogeeks] Fwd: Job Opportunities waiting for you at SkillSanta

2017-09-09 Thread Utkarsh Srivastav
792178434_> [image: twitter icon] <#m_8438502886792178434_> [image: twitter icon] <#m_8438502886792178434_> [image: twitter icon] <#m_8438502886792178434_> -- Utkarsh Srivastav Software Engineer Microsoft Contact : +91-9560711552 -- You received this message because you are subscr

Re: [algogeeks] amazon qn

2012-05-21 Thread UTKARSH SRIVASTAV
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 algogeeks@googlegroups.com. > To unsubscribe from this group, send email to >

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

Re: [algogeeks] Re: dp problem

2012-04-14 Thread UTKARSH SRIVASTAV
into picture. > > @kunal any updates 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

[algogeeks] Re: dp problem

2012-04-13 Thread UTKARSH SRIVASTAV
anyone ? On Fri, Apr 13, 2012 at 12:09 PM, UTKARSH SRIVASTAV 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 ALLAHAB

[algogeeks] dp problem

2012-04-12 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&q

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 cons

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

2012-03-23 Thread UTKARSH SRIVASTAV
gt;>>> > >>>>> > int main() >>>>> > { >>>>> > char str[MAX]; >>>>> > memset(&str,0,MAX); >>>>> > printf("\nEnter String = "); >>>>> > scanf("%s",str); >>&

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

[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

Re: [algogeeks] OS question

2012-01-25 Thread UTKARSH SRIVASTAV
can't get :( On Wed, Jan 25, 2012 at 5:19 PM, Rahul 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 < > usrivasta

[algogeeks] OS question

2012-01-25 Thread UTKARSH SRIVASTAV
rtual 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 ema

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

[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
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 > wrote: > >> void vsum(struct node *p ,int i) >> { >> if(p) >> { >> sum[i] = sum[i] +

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

2012-01-20 Thread UTKARSH SRIVASTAV
roup, 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 @MN

[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 to the

Re: [algogeeks] Histogram rectangle

2012-01-17 Thread UTKARSH SRIVASTAV
n. >>> >> >> >> >> -- >> AMRIT >> >> > > > -- > AMRIT > > -- > 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: rectangle of max sum MS Q

2012-01-17 Thread UTKARSH SRIVASTAV
consider rectangular bars are there with height s[i][j] where i will >> be from 0 to n - 1 && j = column number which is fixed for each iteration. >> then find solution using above algorithm and keep track of maximum >> area >> } >> then maximum area which you

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

2012-01-16 Thread UTKARSH SRIVASTAV
ach iteration. then find 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

Re: [algogeeks] C QUESTION???

2012-01-06 Thread UTKARSH SRIVASTAV
ups.com. >> 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 algogeeks@g

Re: [algogeeks] C output????

2012-01-05 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/gro

Re: [algogeeks] find point lies in side circle

2012-01-05 Thread UTKARSH SRIVASTAV
sage 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 options, visit this group

Re: [algogeeks] Facebook Question

2011-12-21 Thread UTKARSH SRIVASTAV
le 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

Re: [algogeeks] zig zag problem

2011-12-20 Thread UTKARSH SRIVASTAV
irst difference (if one exists) may be either >>>>>>>> positive >>>>>>>> or negative. A sequence with fewer than two elements is trivially a >>>>>>>> zig-zag sequence. >>>>>>>> >>>>>>>> For exa

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

2011-12-19 Thread UTKARSH SRIVASTAV
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 AL

Re: [algogeeks] zig zag problem

2011-12-19 Thread UTKARSH SRIVASTAV
zag sequences, the first because >>>>>> its first two differences are positive and the second because its last >>>>>> difference is zero. >>>>>> >>>>>> Given a sequence of integers, sequence, return the length of the >>

Re: [algogeeks] function overloading query

2011-11-21 Thread UTKARSH SRIVASTAV
>> >> >> -- >> 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] Re: spoj problem

2011-11-16 Thread UTKARSH SRIVASTAV
break;} > > if(c-d>=0) > > { // cout<<"4"< > c=c-d; > > p+=1; > >// cout< > } > >

Re: [algogeeks] Re: spoj problem

2011-11-15 Thread UTKARSH SRIVASTAV
; > > printf("use the stairs\n"); > > break;} > > if(c-d>=0) > > { // cout<<"4"< > c=c-d; > > p+=1; >

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

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

2011-11-14 Thread UTKARSH SRIVASTAV
oup, 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: an os question

2011-11-13 Thread UTKARSH SRIVASTAV
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/

Re: [algogeeks] Amazon Question

2011-11-13 Thread UTKARSH SRIVASTAV
re 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

Re: [algogeeks] Weird Behaviour of Fork()

2011-11-11 Thread UTKARSH SRIVASTAV
/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 algogeeks@googlegroups.com. >> To unsubscribe from this group, send e

Re: [algogeeks] BST question

2011-11-11 Thread UTKARSH SRIVASTAV
ceived 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 options, visit

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

2011-11-10 Thread UTKARSH SRIVASTAV
Text Document.py",'w') > value += 1 > data[2]="print "+str(value)+'\n' > for i in data: > 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 runn

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

2011-11-10 Thread UTKARSH SRIVASTAV
t;>>> 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 th

Re: [algogeeks] Amazon Interview Question

2011-11-10 Thread UTKARSH SRIVASTAV
o 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. >> > > -- > You received this message because you are subscribed to the Google Groups

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

2011-11-10 Thread UTKARSH SRIVASTAV
is 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 th

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 wrote: 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] Re: Questions

2011-11-10 Thread UTKARSH SRIVASTAV
@googlegroups.com. > > >> > For more options, visit this group at > > >> >http://groups.google.com/group/algogeeks?hl=en. > > > > >> -- > > >> Somnath Singh > > > > > -- > > > You received this message because you are subsc

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

Re: [algogeeks] Re: STRING help

2011-09-30 Thread UTKARSH SRIVASTAV
om 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 subscrib

Re: [algogeeks] is it possible??

2011-09-29 Thread UTKARSH SRIVASTAV
ceived 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 options, visit

[algogeeks]

2011-09-29 Thread UTKARSH SRIVASTAV
how does virtual class and virtual function affect class size any good link? -- *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, sen

Re: [algogeeks] Amazon -> array problem

2011-09-29 Thread UTKARSH SRIVASTAV
ps > "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.

Re: [algogeeks] ARRAY PROBLEM

2011-09-28 Thread UTKARSH SRIVASTAV
p. >> 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. >> > &

Re: [algogeeks] Re: Amazon OS question

2011-09-26 Thread UTKARSH SRIVASTAV
oup, send email to > > > > > > >> algogeeks+unsubscr...@googlegroups.com. > > > > > > >> For more options, visit this group at > > > > > > >>http://groups.google.com/group/algogeeks?hl=en. > > > > > > >

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

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

Re: [algogeeks] A logical Question

2011-09-15 Thread UTKARSH SRIVASTAV
ERING > NIT 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]

2011-09-14 Thread UTKARSH SRIVASTAV
abc}{abc} >> The expansion facility is provided by bash but not sh.(You may verify my >> claim) >> The default shell is bash.*switch to sh mode and you will realize whats >> happening.* >> >> >> On Thu, Sep 15, 2011 at 2:43 AM, 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 wrote: > yes it's giving wrong output on terminal using gcc compiler in ubuntu > > > On Thu, Sep 15, 2011 at 1:25 AM, Amol Sharma wrote: > >> though

Re: [algogeeks]

2011-09-14 Thread UTKARSH SRIVASTAV
; >> >> >> >> On Thu, Sep 15, 2011 at 1:13 AM, rahul vatsa wrote: >> >>> 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

Re: [algogeeks] Re: MICROSOFT WRITTEN IN VASAVI

2011-09-14 Thread UTKARSH SRIVASTAV
ks@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 messa

Re: [algogeeks] alternative of stack

2011-09-10 Thread UTKARSH SRIVASTAV
bed 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/g

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

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 Goo

[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 &qu

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

Re: [algogeeks] Re:

2011-09-06 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. >> > > --

[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

[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&q

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

Re: [algogeeks] c question

2011-09-03 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. > -- *U

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

2011-08-30 Thread UTKARSH SRIVASTAV
isit 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

Re: [algogeeks] SPOJ Problem DIVSUM

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

Re: [algogeeks] Explanation

2011-08-29 Thread UTKARSH SRIVASTAV
it is evaluated first because it's value is taken by the h 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, send ema

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] tejas 2010 coding test

2011-08-29 Thread UTKARSH SRIVASTAV
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. To uns

[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, sen

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 wrote: > #include > main() > { > system("cat p8.c"); > > } > > > On Sun, Aug 28, 2011 at 7:43 PM, t

Re: [algogeeks] c program

2011-08-28 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 be

[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@googlegrou

Re: [algogeeks] Re: c program

2011-08-28 Thread UTKARSH SRIVASTAV
> > > 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

Re: [algogeeks]

2011-08-27 Thread UTKARSH SRIVASTAV
gt;> http://groups.google.com/group/algogeeks?hl=en. >> > > > > -- > Dipit Grover > B.Tech in CSE > IIT Roorkee > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to thi

[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@googlegrou

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

2011-08-26 Thread UTKARSH SRIVASTAV
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 algogeeks@googlegroups.com. > To unsubscribe from this group,

Re: [algogeeks] Amazon Interview Q

2011-08-17 Thread UTKARSH SRIVASTAV
gt; 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

[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 "Algo

Re: [algogeeks] C doubt

2011-08-11 Thread UTKARSH SRIVASTAV
#include main() { int a[10],i; int (*p)[10]; p=&a; for( i=0;i<10;i++) { *((int *)p+i)=i; } for( i=0;i<10;i++) { printf(" %d",a[i]); } } -- *UTKARSH SRIVASTAV CSE-3 B-

Re: [algogeeks] goldman sachs paper

2011-08-10 Thread UTKARSH SRIVASTAV
lgogeeks+unsubscr...@googlegroups.com. >> 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 t

Re: [algogeeks] Fwd: max product

2011-08-07 Thread UTKARSH SRIVASTAV
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 algogeeks@googlegroups.com.

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 wrote: > I thought this was algogeeks, not company question geeks. > > On Aug 7, 4:27 pm, UTKARSH SRIVASTAV wrote: > > please these questions are compiler dependent and have no

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

2011-08-07 Thread UTKARSH SRIVASTAV
> > > >>> > > > Its compiler dependent. Acc. to the C standard an object's > stored > > >>> > > > value > > >>> > can > > >>> > > > be modified only once in an expression. > > > > >>> > &g

Re: [algogeeks] recursive nearest square

2011-08-07 Thread UTKARSH SRIVASTAV
om 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 subscribe

[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

Re: [algogeeks] xplanation plz

2011-08-06 Thread UTKARSH SRIVASTAV
a > New Delhi > > > -- > 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...@googlegro

Re: [algogeeks] Re: Tug of War

2011-08-06 Thread UTKARSH SRIVASTAV
h[j-1]) >>>{ >>>strength[j] ^= strength[j-1]; >>> strength[j-1] ^= strength[j]; >>>strength[j] ^= strength[j-1]; >>>

Re: [algogeeks] size -------

2011-08-06 Thread UTKARSH SRIVASTAV
no the answer is 24 bytes ..read cell padding -- *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

Re: [algogeeks] inorder

2011-08-06 Thread UTKARSH SRIVASTAV
sorry two cases only On Sat, Aug 6, 2011 at 6:21 AM, UTKARSH SRIVASTAV wrote: > 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 ch

Re: [algogeeks] inorder

2011-08-06 Thread UTKARSH SRIVASTAV
arent only 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* -

[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 wrote: > 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=

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

[algogeeks] Question

2011-08-06 Thread UTKARSH SRIVASTAV
e); strcpy(dzero,l); oop=0; uo=strlen(dzero); for(f=uo-1;f>=0;f--) ans[i][oop++]=dzero[f]; ans[i][oop]='\0'; } while( (scanf("%s",s))!=EOF )

Re: [algogeeks] simple doubt

2011-08-05 Thread UTKARSH SRIVASTAV
this case *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

Re: [algogeeks] Structure Q

2011-08-05 Thread UTKARSH SRIVASTAV
->x=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 grou

Re: [algogeeks] difference between the two

2011-08-05 Thread UTKARSH SRIVASTAV
ogle 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/

  1   2   >