Re: [algogeeks] Re: puzzle

2011-08-26 Thread SuDhir mIsHra
i hope now it clear: [image: Screenshot.png] -- 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] Regarding my posts

2011-08-25 Thread SuDhir mIsHra
lol -- 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 options, visit this group

[algogeeks]

2011-08-25 Thread SuDhir mIsHra
main() { int a=10,20; a^=b^=a^=b; printf(%d\n %d\n,a,b); -- 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] why the output 16

2011-08-21 Thread SuDhir mIsHra
#includestdio.h #define FUNC1(i) (i*(i-1)) #define FUNC2(i) (i==0?1:i*FUNC1(i-1)) main() { int i=8; printf(\n%d,FUNC2(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] c programe explain

2011-08-21 Thread SuDhir mIsHra
funct(char* str) { printf(%s\n,str); } main() { static int ii = 1; int jj = 5; ii+=++jj; funct(ii+++Campus Interview); } -- 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] Re: fork() question

2011-08-14 Thread SuDhir mIsHra
2) int main() { fork(); fork(); fork(); fork() printf(Hello world!); } a.out─┬─a.out─┬─a.out─┬─a.out───a.out │ │ └─a.out │ ├─a.out───a.out │ └─a.out

[algogeeks] what is mean by %2.3d in scanf

2011-08-13 Thread SuDhir mIsHra
e g: scanf(%2.4d,a); -- 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 options,

Re: [algogeeks] Re: adobe written round que

2011-07-29 Thread Sudhir mishra
int divideby3 (int num) { int sum = 0; while (num 3) { sum += num 2; num = (num 2) + (num 3); } if (num == 3) ++sum; return sum; } Thanks Regards...* รυ∂んเя мเรんяค* -- You received this message because you are subscribed to the Google Groups Algorithm

[algogeeks] Sudhir mishra wants to chat

2011-07-21 Thread Sudhir mishra
--- Sudhir mishra 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-62d5befb93-80d907c33d-qc8z-Uscge2hvBwQ28GKNjP8hvc You'll

Re: [algogeeks] Google Interview Question

2011-05-30 Thread Sudhir mishra
give some explanation -- 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 options,

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

2011-04-30 Thread Sudhir mishra
sudhir08.mis...@gmail.com -- 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 options,

Re: [algogeeks] Re: give solution(logic)

2011-04-26 Thread Sudhir mishra
now post -- 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 options, visit this group

[algogeeks] give solution(logic)

2011-04-25 Thread Sudhir mishra
** Make NECESSARY assumptions. .Kingdom of *Maplewood* is a beautiful country comprising of a lot of small islands of different areas. All the islands are in a straight row. King * Rosewood* is getting old and has decided to divide the islands among his two sons - *Eric* and *Finn*. Luckily,

[algogeeks] Re: give solution(logic)

2011-04-25 Thread Sudhir mishra
give soon -- 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 options, visit this

Re: [algogeeks] Re: give solution(logic)

2011-04-25 Thread Sudhir mishra
why -- 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 options, visit this group at

Re: [algogeeks]

2011-04-21 Thread Sudhir mishra
: motilal.JPG] Thanks Regards...* SUDHIR MISHRA sudhir08.mis...@gmail.com* *IT 3rd YEAR* *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

[algogeeks] give answer

2011-03-10 Thread Sudhir mishra
Ques: What is Abstract Classes? Ques:What is interfaces? Ques:What is difference between abstract classes and interfaces? Ques:Give an example where do you use interfaces and abstract classes? -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To

[algogeeks] virtual memory

2011-03-09 Thread Sudhir mishra
virtual memory allows us to run processes of size more than RAM. Is there any other use of virtual memory? can ever achieve greatly. -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to

[algogeeks] binary search for Linked List?

2011-03-08 Thread Sudhir mishra
Is it possible to implement -- 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

Re: [algogeeks] Re: binary tree, nodes, each node has an ID

2011-03-04 Thread Sudhir mishra
what is rmq On Fri, Mar 4, 2011 at 7:21 AM, Vipin Agrawal vipin.iitr@gmail.comwrote: There are many way to find out least common ancestor. Best Solution is RMQ. On Mar 4, 3:59 pm, Sudhir mishra sudhir08.mis...@gmail.com wrote: binary tree, nodes, each node has an ID root node

[algogeeks] Storing 1 million phone numbers

2011-02-28 Thread Sudhir mishra
best way , Memory-wise, to store 10 Crores mobile numbers ? this is an interview question of Google.its a bit too easy. -- * * Thanks Regards...* *Sudhir Mishra *IT 3rd YEAR* *Motilal Nehru National institute

Re: [algogeeks] Storing 1 million phone numbers

2011-02-28 Thread Sudhir mishra
please explain what is trie -- 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

[algogeeks] SUDHIR MISHRA wants to chat

2011-02-15 Thread SUDHIR MISHRA
--- SUDHIR MISHRA 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-62d5befb93-3fceb99bf3-oYX-pec-NCYCzMLIBV7yRJ6EMUI You'll

Re: [algogeeks] Re: question at K10

2011-02-15 Thread SUDHIR MISHRA
nice solution -- 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

[algogeeks] SUDHIR MISHRA wants to chat

2011-02-09 Thread SUDHIR MISHRA
--- SUDHIR MISHRA 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-62d5befb93-a1202cc5cd-5oEiMcLpaEPVY-UR9eGSSYdrezQ You'll

Re: [algogeeks] Re: fedora 12

2011-02-08 Thread SUDHIR MISHRA
o k---thanks mittal -- Thanks Regards...* *Sudhir Mishra *IT 3rd YEAR* *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

[algogeeks] fedora 12

2011-02-07 Thread SUDHIR MISHRA
help to install- Fedora O S by 4 gb pendrive -- Thanks Regards...* *Sudhir Mishra *IT 3rd YEAR* *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

[algogeeks] GATE

2011-01-15 Thread SUDHIR MISHRA
sugest study material for gate 2011 -- 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

Re: [algogeeks] Fwd: [ƒƒÖ]™ HaPpY NeW YeAr 2011

2011-01-01 Thread sudhir mishra
thank u,wish u the same -- * Thanks Regards... Sudhir Mishra undergraduate student, Department Of **Computer Science and engineering,* *Motilal Nehru National institute Of Technology-ALLAHABAD. * -- You received this message because you are subscribed to the Google Groups Algorithm Geeks

[algogeeks] sudhir mishra wants to chat

2010-12-29 Thread sudhir mishra
--- sudhir mishra 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-62d5befb93-c4270e4073-gZW-XtMwbOw3w3XU9CHGZ6uR5ZQ You'll

[algogeeks] help me solve this problem

2010-12-25 Thread sudhir mishra
**https://www.spoj.pl/problems/MCARDS/en/ -- -- regards *Sudhir Mishra* 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 algoge...@googlegroups.com. To unsubscribe from this group, send

[algogeeks] Debugging questions

2010-11-13 Thread sudhir mishra
(++i);* else return fun(fun( i - 1 )); } int main() { printf( %d , fun(200)); getchar(); return 0; } -- -- regards *Sudhir Mishra* 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] Learn

2010-11-12 Thread sudhir mishra
Write a program to swap odd and even bits in an unsigned integer with as few instructions as possible (e.g., bit 0 and bit 1 are swapped, bit 2 and bit 3 are swapped, etc). eg[?] input--- 1234567 7654321 888 output-- 411 12109682 948 -- regards *Sudhir Mishra* MNNIT ALLAHABAD

Re: [algogeeks] Re: Max pyramid path

2010-11-07 Thread sudhir mishra
c implementationpath in pyramid we come botom to up - eg:store like it(_we go ether right or down)) 1 1 2 1 2 3 = step 2) 6 step 1) 3 5 1 2 3 --- #includestdio.h int a[100][100]; void solve(int m) { int t1,t2,j1; if(m==-1)