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
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;
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
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
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
@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
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
: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
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
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
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
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
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
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
14 matches
Mail list logo