The second was given two nodes of a binary tree find the
closest ancestor of the two nodes.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More General Aptitude Interview Questions

What are the major data structures used in the following areas : RDBMS, Network data model & Hierarchical data model.

2 Answers  


Choose the odd man out from the below mentioned options?

0 Answers   Aricent,


a certain no of bullets were shared by 3 ppl equally.each of them fired 4 of the bullets and the sum of the remaining bullets are equal to the initial share each had got.what was the initial number of bullets?

6 Answers   Assurgent,


It takes eight hours for a 600 km journey, if 120 km is done by train and the rest by car. It takes 20 minutes more, if 200 km is done by train and the rest by car. The ratio of the speed of the train?

0 Answers  


A Father Has 7 Pennys With Him And 1 Water Melon Is For 1p, 2chickoos For 1p, 3 Grapes Foe 1p. He Has Three Sons. How Can He Share The Fruits Equally?

0 Answers   TCS,






A>B,B>C,C=D,D>E,then which is greatest a)A/B b) A/C c) A/E d)none

7 Answers   Wipro,


what is jewellers rouge

3 Answers   CDS, Wipro,


In a soap company a soap is manufactured with 11 parts. For making one soap you will get 1 part as scrap. At the end of the day u have 251 such scraps. From that how many soaps can be manufactured?

0 Answers   Infosys,


A work is done by two people in 24 minutes. One of them alone can do it in 40 minutes. How much time will the other person will take to complete it

0 Answers   TCS,


Mahesh and Ramesh are questioners. The time taken by Mahesh and make a question is double of that taken by Ramesh. If Mahesh made 3/2 questions less each minute and Ramesh made 3 questions less each minute, to make m questions, the time taken by Ramesh would be 2n minutes less than that taken by Mahesh. If Ramesh takes n minutes to make m questions, find the number of questions that Ramesh can make in a minute?

0 Answers   Cap Gemini,


3+4=25 4+5=41 5+6=?

7 Answers  


What are applications of half adder circuit?

2 Answers   GGH, TCS, Wipro,


Categories