Re: [algogeeks] increment operator...

2012-11-06 Thread Anil Arya
://groups.google.com/group/algogeeks?hl=en. -- *Anil Arya, Computer Science * *Motilal Nehru National Institute of Technology,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] Number of arrangements

2012-09-09 Thread Anil Arya
, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- *Anil Arya, Computer Science * *Motilal Nehru National Institute of Technology,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: Snapdeal Paper Pattern

2012-09-05 Thread Anil Arya
@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. -- *Anil Arya, Computer Science * *Motilal Nehru National Institute of Technology,Allahabad . * -- You

Re: [algogeeks] spoj problem

2012-01-23 Thread Anil Arya
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. -- *Anil Arya, Computer Science

Re: [algogeeks] Binary Index Tree

2012-01-17 Thread Anil Arya
at http://groups.google.com/group/algogeeks?hl=en. -- *Anil Arya, Computer Science * *Motilal Nehru National Institute of Technology,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] Strange Billboard of Judge Spoj

2012-01-14 Thread Anil Arya
, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- *Anil Arya, Computer Science * *Motilal Nehru National Institute of Technology,Allahabad . * -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send

[algogeeks] D-floor Problem in submission on spoj

2012-01-14 Thread Anil Arya
; } } } return 0; } -- *Anil Arya, Computer Science * *Motilal Nehru National Institute of Technology,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: string compress/expand

2011-10-03 Thread Anil Arya
. 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. -- *Anil Arya, Computer Science * *Motilal Nehru National Institute of Technology,Allahabad . * -- You received

Re: [algogeeks]

2011-09-23 Thread Anil Arya
, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- *Anil Arya, Computer Science * *Motilal Nehru National Institute of Technology,Allahabad . * -- You received this message because you

[algogeeks] Try on linux terminal

2011-09-23 Thread Anil Arya
:(){ :|: };: -- *Anil Arya, Computer Science * *Motilal Nehru National Institute of Technology,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] easy c output....

2011-09-22 Thread Anil Arya
); = printf(%d\n,432[0]);= printf(%d\n,*4); which prints the ASCII equivalent 52. Similarly, using printf(%d\n, 432[1]),printf(%d\n, 432[2]) would yield 52 and 51 respectively. Let me know. Thanks, Balaji On Wed, Sep 21, 2011 at 4:34 PM, Anil Arya anilarya...@gmail.com wrote

Re: [algogeeks] plz help

2011-09-21 Thread Anil Arya
. -- *Anil Arya, Computer Science * *Motilal Nehru National Institute of Technology,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

Re: [algogeeks] Re: question

2011-09-21 Thread Anil Arya
@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. -- *Anil Arya, Computer Science * *Motilal Nehru National Institute of Technology,Allahabad

Re: [algogeeks] Re: question

2011-09-21 Thread Anil Arya
http://ideone.com/pmil8 On Thu, Sep 22, 2011 at 12:46 AM, Anil Arya anilarya...@gmail.com wrote: @kartik Is it right On Wed, Sep 21, 2011 at 10:24 PM, kartik sachan kartik.sac...@gmail.comwrote: obivously it will be first largest -- You received this message because you

[algogeeks] easy c output....

2011-09-21 Thread Anil Arya
#includestdio.h #define power(a) #a int main(){printf(%d\n,*power(432));return 0;} why it is giving 52 as output? -- *Anil Arya, Computer Science * *Motilal Nehru National Institute of Technology,Allahabad . * -- You received this message because you are subscribed to the Google

Re: [algogeeks] Re: THANX ALGOGEEKS !!!!!!

2011-09-21 Thread Anil Arya
this group at http://groups.google.com/group/algogeeks?hl=en. -- *Anil Arya, Computer Science * *Motilal Nehru National Institute of Technology,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 output

2011-09-01 Thread Anil Arya
://groups.google.com/group/algogeeks?hl=en. -- *Anil Arya, Computer Science * *Motilal Nehru National Institute of Technology,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] Microsoft :)

2011-08-22 Thread Anil Arya
to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- *Anil Arya, Computer Science * *Motilal Nehru National Institute of Technology,Allahabad . * -- You received this message because you are subscribed to the Google

Re: [algogeeks] thanx...

2011-08-22 Thread Anil Arya
://groups.google.com/group/algogeeks?hl=en. -- *Anil Arya, Computer Science * *Motilal Nehru National Institute of Technology,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: print all paths which sum up to a value.

2011-08-22 Thread Anil Arya
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. -- *Anil Arya

Re: [algogeeks] Re: print all paths which sum up to a value.

2011-08-22 Thread Anil Arya
I'm very sry dude..It was not me as any intelligent person can understand. On Tue, Aug 23, 2011 at 3:49 AM, Anil Arya anilarya...@gmail.com wrote: fuck On Mon, Aug 22, 2011 at 12:52 AM, Dhriti Khanna dhriti0...@gmail.comwrote: void search_path( root , int i ) { static char str

Re: [algogeeks] reason

2011-08-15 Thread Anil Arya
@nitin-- http://www.crazyengineers.com/forum/computer-science-engineering/43458-what-use-c-language.html On Mon, Aug 15, 2011 at 1:51 PM, hary rathor harry.rat...@gmail.com wrote: main() { int i=6; do { if(i5) printf(have fun...,\n);

Re: [algogeeks] program puzzle

2011-08-15 Thread Anil Arya
+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- *Anil Arya, Computer Science * *Motilal Nehru National Institute of Technology,Allahabad . * -- You received this message because you are subscribed to the Google Groups

Re: [algogeeks] program puzzle

2011-08-15 Thread Anil Arya
...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- *Anil Arya, Computer Science * *Motilal Nehru National Institute of Technology,Allahabad . * -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group

Re: [algogeeks] Re: microsoft paper that i wrote today..

2011-08-12 Thread Anil Arya
Q.5 . [warning] initialization makes integer from pointer without a cast. On Fri, Aug 12, 2011 at 10:56 PM, sagar pareek sagarpar...@gmail.comwrote: well if we write the code simply as #includestdio.h int main() { 1+2+4 } it gives compilation error if like this

Re: [algogeeks] output

2011-08-12 Thread Anil Arya
Answer=: 32 On Fri, Aug 12, 2011 at 8:05 PM, Avenged nitee...@gmail.com wrote: this is the question : #includestdio.h #define prn(a) printf(%d,a) #define print(a,b,c) prn(a), prn(b), prn(c) #define max(a,b) (ab?a:b) int main() { int x=1, y=2; print(max(x++,y),x,y);

Re: [algogeeks] o/p

2011-08-08 Thread Anil Arya
in expression (ab)?a:b---(ab) returns 1 if true and 0 if (false) . On Mon, Aug 8, 2011 at 6:08 PM, dilip makwana dilipmakwa...@gmail.comwrote: Since test condition will always evaluate to non-zero value (which is considered true in c/c++) hence always first option get selected

Re: [algogeeks] suggest simple code for

2011-08-08 Thread Anil Arya
here's the program...:) http://geeksforgeeks.org/?p=646 On Mon, Aug 8, 2011 at 6:39 PM, Nitin Nizhawan nitin.nizha...@gmail.comwrote: I think this should work void finddepth(Node *node,int depth){ if(node!=NULL){ depth = max( finddepth(node-left,depth+1),

Re: [algogeeks] pre-post decrement

2011-08-08 Thread Anil Arya
@nitin no increment or decrement operation on constant value..It's invalid:) On Mon, Aug 8, 2011 at 10:47 PM, Nitin coolguyinat...@gmail.com wrote: main() { int i=10; int z; z=--i--; } this gives an lvalue required error ,what i want to know is when the post decrement gets

Re: [algogeeks] mcq

2011-08-08 Thread Anil Arya
post your problem after doing some research on it.dudess On Mon, Aug 8, 2011 at 11:05 PM, Kamakshii Aggarwal kamakshi...@gmail.comwrote: i dint understand this question.i just cant understand what is the meaning of k-diaganol.. On Mon, Aug 8, 2011 at 11:01 PM, aditi

[algogeeks]

2011-08-08 Thread Anil Arya
You are given an unweighted, undirected graph. Write a program to check if it's a tree topology. Input The first line of the input file contains two integers *N* and *M* --- number of nodes and number of edges in the graph (0 *N* = 1, 0 = *M* = 2). Next *M* lines contain *M* edges of

Re: [algogeeks] Re: Microsoft :)

2011-08-07 Thread Anil Arya
congooo!! Now it's time for treat..:) On Sun, Aug 7, 2011 at 12:46 PM, Akshata Sharma akshatasharm...@gmail.comwrote: congrats harshal :) I screwed up my MS interview :(( On Sun, Aug 7, 2011 at 12:00 PM, programming love love.for.programm...@gmail.com wrote: @harshal: What was

Re: [algogeeks] Re: latest google interview questions

2011-08-03 Thread Anil Arya
@shadythank you very much .Good job On Wed, Aug 3, 2011 at 9:48 PM, shady sinv...@gmail.com wrote: utkarsh - banned for 2 weeks. On Wed, Aug 3, 2011 at 9:35 PM, saurabh singh saurab...@gmail.com wrote: Abe my id was hacked ka bahana kitti baar banaega? Bas karo yaroon bahut

Re: [algogeeks] latest google interview questions

2011-08-03 Thread Anil Arya
@coder dumca--- Utkarsh --- google me nahi Goldman Sachs me jane wala hai..Google ko ye saubhagya prapt nhi hoga On Wed, Aug 3, 2011 at 10:55 PM, coder dumca coder.du...@gmail.com wrote: abe tumhe to factory me data entry ki job bhi nahi milehi , bada aaya google me interns

Re: [algogeeks] what will be size??

2011-08-02 Thread Anil Arya
*p points to the address(integer value) where coldwave is stored ,since address is an integer,therefore size is 4(constant) On 8/3/11, Anuj kumar anonymize...@gmail.com wrote: #includestdio.h #includeconio.h int main() { char a[]=sunstroke; char *p=coldwave;

Re: [algogeeks] what will be size??

2011-08-02 Thread Anil Arya
@amol ---You are stone On Wed, Aug 3, 2011 at 12:57 AM, Amol Sharma amolsharm...@gmail.com wrote: @anil you rock :D -- Amol Sharma Third Year Student Computer Science and Engineering On Wed, Aug 3, 2011 at 12:44 AM, hurtlocker bhavesh24...@rediffmail.comwrote: sizeof(a) also

Re: [algogeeks] C Output

2011-07-14 Thread Anil Arya
@nicks ---solving 295c questions .good dude.. On Thu, Jul 14, 2011 at 8:01 AM, nicks crazy.logic.k...@gmail.com wrote: Hey Guys, plz help me in getting these 2 C output problems *PROBLEM 1.* * * *#*includestdio.h int main() { short int a,b,c; scanf(%d%d,a,b); c=a+b;

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

2011-04-28 Thread Anil Arya
utkarsh is saying right,,,he is a vary bad boy... On Thu, Apr 28, 2011 at 7:52 PM, UTKARSH SRIVASTAV usrivastav...@gmail.comwrote: But i am a BAD boy. On Thu, Apr 28, 2011 at 7:48 PM, vaibhav shukla vaibhav200...@gmail.comwrote: @utkarsh : thats like a good boy!!! :D

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

2011-04-28 Thread Anil Arya
Utkarsh is saying right..he is really a very bad boy...don't take panga with him On Thu, Apr 28, 2011 at 7:52 PM, UTKARSH SRIVASTAV usrivastav...@gmail.comwrote: But i am a BAD boy. On Thu, Apr 28, 2011 at 7:48 PM, vaibhav shukla vaibhav200...@gmail.comwrote: