given a height balanced tree. If we add one more node , how
many nodes gets unbalanced ?
Answer Posted / banti sharma
The answer given above is wrong. The exact answer is (log n)
wherw n is the no. of nodes in binary tree
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
One boy has to climb steps. He can climb 1 or 2 steps at a time. Write a function that will returns number of way a boy can climb the steps. Int WaytoSteps(int n) (eg:- suppose number of steps is n=4 ,the function will return 5 (one-one-one-one ,one-one-two, one-two-one-,two-one-one, two-two)
what is web service in java? have u use before.
how to convert infix expression to prefix expression?
Hi all... I had completed MSC(Computer) and had join the construction company based on sap.they want me to work on abap.but software company is totally different from construction company and they want me 2 grasp it as fast i can.i am finding it difficult.what should i do??????
purpose of abstraction and interface
public static void main(String args[]) describe it
What is the difference between COM and CORBA?
Need guidewire related Documents(Interview Question/Tips/Best Practice/Dumps)
MOV.CB 007H,ADCON1 MOVE.CT 001H,_OPTION_REG_7 MOV.CB 007H,CMCON
Diffrence between 2.0,3.0,3.5,4.0. versions of .net?
What is the meaning of client-server application. The purpose of Client-Server Application. with description.
1.how to deploy the Maven application in weblogic server? 2.In Real time projects all classes are singleton or some classes only singleton explain? 3.what are the major uses of the designpatterns? 4.explain restful &Soap based services explain?
Write a program to find whether a given number is prime or not.
Given an array of size n. It contains numbers in the range 1 to n. Each number is present at least once except for 1 number. Find the missing number
how can i create report in abap to insert data in table pa0002 using insert command