Putta
BAN USER
Questions (5)
Comments (1)
Reputation -10
- 1of 1 vote
AnswersProgram to rotate an array
- Putta in India| Report Duplicate | Flag | PURGE
Synopsys R&D Senior Software Development Engineer Algorithm - 0of 0 votes
AnswersProgram to check if a tree is structurally similar
- Putta in India| Report Duplicate | Flag | PURGE
Synopsys R&D Senior Software Development Engineer Algorithm
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.
1. if node->root->left = node then node->root->right is answer
- Putta June 22, 20132. if node->root->right = node then
if(node->root->root->right->left != node->root->left )
then node->root->root->right->left is answer
if above condition are false (NULL) then node is not having any right sibling