[algogeeks] binary tree ques

2011-08-22 Thread Coder Coder
Print the coordinates of nodes of a binary tree. eg. A BC D EF G A(3,2) B(1,1) C(5,1) D(0,0) E(2,0) F(4,0) G(6,0) *Snehil Saxena NIT Warangal 3rd yr* -- You received this message because you are subscribed to the

[algogeeks] iocl recruitment process

2011-08-12 Thread coder coder
iocl is coming to my college please any dceite please tell what they are asking in their interview process and what profile they are offering to the coe candidate -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send

[algogeeks] amazon visit

2011-08-04 Thread coder coder
amazon will be visiting our campus within few days any ideas about their pattern especially their online test the questions asked by them and where they have visited recently for campus placement -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group.

Re: [algogeeks] Microsoft Internship

2011-08-03 Thread coder coder
the interviewers are asking easy questions like spiral finding, loop in the list, common ancestor etc.. -- 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-08-03 Thread coder coder
ya amazon will be visiting our campus within few days -- 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] [offtopic] Something to share for those preparing for Amazon Campus Interviews!

2011-08-03 Thread coder coder
can anyone tell what kind of aptitude questions they are asking i.e. thier level are they complex lrdi type. also their number -- 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

Re: [algogeeks] Directi on campus

2011-08-03 Thread coder coder
maybe some days after to ours -- 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]

2011-07-28 Thread Coder Coder
Can anyone tell me the iterative code to find mirror image of a binary tree?? thanx.. -- 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] please help

2011-07-26 Thread coder coder
Write a program to find the index in an circular array such that the string that is formed starting from that index is first in lexicographic order. on all the sites the code part is misunderstood for the test case ABCDEAABCCDA -- You received this message because you are subscribed to the

[algogeeks] Re: please help

2011-07-26 Thread coder coder
in the circular array ABCDEABCCDE The answer is 6 because the circular string starting from the element A in the 6th position comes first in the dictionary formed from all the possible strings of the circular array. for ABCDEAABCCDA is 6 -- You received this message because you are subscribed

[algogeeks] Re: please help

2011-07-26 Thread coder coder
yes -- 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] Re: please help

2011-07-26 Thread coder coder
@ankit your answer is wrong for the test case ABCDEAABCCDA -- 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] Re: please help

2011-07-26 Thread coder coder
ankit your solution gives answer 11 for test case ABCDEAABCCDA ie AABCDEAABCCD Isn't solution is AABCCDAABCDE ie 6 -- 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: please help

2011-07-26 Thread coder coder
@ankit still your solution is not giving the correct result for this test case -- 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] Re: please help

2011-07-26 Thread coder coder
the answer should be 6 correct me if i am getting the question wrong #includeiostream using namespace std; int checkmin(char arr[],int size,int i,int j) { int k=0; while(arr[i]==arr[j] ksize) { i=(i+1)%size; j=(j+1)%size; k++; } if(k==size) return i;

Re: [algogeeks] Re: please help

2011-07-26 Thread coder coder
thanx bro -- 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

[algogeeks] longest repeated substring

2011-07-13 Thread coder coder
how to find lrs efficiently -- 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] suffix tree algorithm

2011-07-07 Thread coder coder
how to make a sufffix tree with different complexities along with its uses -- 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