[algogeeks] Finding pre order representation of expression

2012-02-09 Thread Rahul Menon
From the following options, select the correct pre-order representation of the following expression. – 16 – – 14 / – 12 - 2 * 8 Please do answer how you arrived at the answer! Answers -–16--/14–12*28 -–16--/-1412*28 -–16-/–14–12*28 */--–16-14–1228 -- You received this message because you are

[algogeeks] Binary Search Tree Question

2012-02-09 Thread Rahul Menon
What does this function do? void function(Node **node){ if(*node!=NULL){ function((*node)-Left); Node *temp; temp = (*node)-Left; (*node)-Left= (*node)-Right; (*node)-Right = temp;

[algogeeks] Re: Binary Search Tree Question

2012-02-09 Thread Rahul Menon
will be swapped in the root node. Beyond that, there will be no change. To make it work as intended, either do the two recursive calls one after the other, or change the second one from Right to Left. Don On Feb 9, 8:38 am, Rahul Menon menonrahul1...@gmail.com wrote: What does

[algogeeks] Re: Binary Search Tree Question

2012-02-09 Thread Rahul Menon
that, there will be no change. To make it work as intended, either do the two recursive calls one after the other, or change the second one from Right to Left. Don On Feb 9, 8:38 am, Rahul Menon menonrahul1...@gmail.com wrote: What does this function do? void function(Node

[algogeeks] Re: Binary Search Tree Question

2012-02-09 Thread Rahul Menon
What about just the root being reversed? Why is it different only in case of root? Rahul On Feb 9, 10:52 pm, Don dondod...@gmail.com wrote: Because it reverses one side twice and the other side not at all. It does a lot of work to accomplish nothing. Don On Feb 9, 9:06 am, Rahul Menon

Re: [algogeeks] [offtopic] Something to share for those preparing for Amazon Campus Interviews!

2011-07-29 Thread Rahul Menon
@RAHUL SINGHAL Sorry to bother you! Unfortunately I cant find any such links in topcoder. Can you just share a link here! -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To view this discussion on the web visit

[algogeeks] [offtopic] Something to share for those preparing for Amazon Campus Interviews!

2011-07-28 Thread Rahul Menon
Hello friends, Recently I appeared for placement interviews for Amazon in my campus.Unfortunately though I couldn't make it, still want to share something for others here preparing for amazon interviews! First of all though it is very hard to crack, here are a few things which can make your

[algogeeks] Re: [offtopic] Something to share for those preparing for Amazon Campus Interviews!

2011-07-28 Thread Rahul Menon
:54 PM, Rahul Menon menonrahul1...@gmail.comwrote: Hello friends, Recently I appeared for placement interviews for Amazon in my campus.Unfortunately though I couldn't make it, still want to share something for others here preparing for amazon interviews! First of all though

[algogeeks] Re: [offTopic] Any one attended Informatica Interview

2011-07-24 Thread Rahul Menon
interview On Wed, Jul 20, 2011 at 9:25 PM, Rahul Menon menonrahul1...@gmail.comwrote: I would like if any here have attended informatica interview and also about the interview procedure. -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group

[algogeeks] [offTopic] Any one attended Informatica Interview

2011-07-20 Thread Rahul Menon
I would like if any here have attended informatica interview and also about the interview procedure. -- 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

[algogeeks] Expression evaluation in C

2011-07-17 Thread Rahul Menon
Guys give me your thoughts on http://c-faq.com/expr/seqpoints.html According to this expressions like i++ * i++ have undefined behaviour! But havent we faced questions like this in our interview prelim tests??! -- You received this message because you are subscribed to the Google Groups

[algogeeks] Re: Hellof Friends. Regarding Microsoft Internship test

2011-01-18 Thread Rahul Menon
Thanks for the replies @Sunny Last year when they came to our college, they also asked questions relating to Operating Systems and Database. Did you forgot to mention it or is MS avoiding such questions now? Regards Rahul -- You received this message because you are subscribed to the

[algogeeks] Hellof Friends. Regarding Microsoft Internship test

2011-01-16 Thread Rahul Menon
We are having microsoft internship test and interview in the month of february at our college. And we all have just started preparations in full swing. I think people here have much experience regarding the portions which are to be stressed for these kind of interviews and especially incase of MS

Re: [algogeeks] Re: Hellof Friends. Regarding Microsoft Internship test

2011-01-16 Thread Rahul Menon
I think Im good at Algorithms and Data Structures. Could you name a few which gives good resources!! Actually google suggest a lot !! so it would be better if some human can share their choice :) Regards Rahul On Sun, Jan 16, 2011 at 6:54 PM, juver++ avpostni...@gmail.com wrote: Heh, to