ruddermechanic
BAN USER
Questions (5)
Comments (4)
Reputation 95
- -1of 1 vote
AnswersPrint the last n lines of a file in one iteration
- ruddermechanic in India| Report Duplicate | Flag | PURGE
Microsoft Software Engineer / Developer Algorithm - -1of 1 vote
AnswersImplement Queue using stacks
- ruddermechanic in India| Report Duplicate | Flag | PURGE
Microsoft Software Engineer / Developer Stacks
Page:
1
Comment hidden because of low score. Click to expand.
Comment hidden because of low score. Click to expand.
0
of 0 vote
In the above example level 1 has only one node where as level 3 has 4 nodes so the it should return 3. Since level 3 has max number of nodes it should return 3. For example lets say
1
/ \
2 3
/ \
4 5
/ \ / \
6 7 8 9
/ \
10 11
here level 4 has max no of nodes.So the answer is 4
- ruddermechanic February 07, 2013Comment hidden because of low score. Click to expand.
0
of 0 vote
none I am a fresher
- ruddermechanic February 07, 2013Comment hidden because of low score. Click to expand.
0
of 0 vote
the output of the above question should be 3
- ruddermechanic February 07, 2013Page:
1
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.
Yes,That was my answer :-)
- ruddermechanic February 07, 2013