given a height balanced tree. If we add one more node , how
many nodes gets unbalanced ?
Answers were Sorted based on User's Feedback
Answer / 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 |
please any one pass file aid,xpeditor and endeavor tools
Suppose we are doing 4 operations on database using service, first operation is successful but due to some reason remaining 3 operations are failed. I) is this transaction successful or not? ii) How can you give that error message to user?
why we use mantis? what u mean mantis in IT trends? addvantages of mantis?
0 Answers HCL, Sacred Heart College,
Is class is a abstract datatype in java?
Which tag is used to break a line
There is a room with 1000 light switches, numbered 1, 2, 3, 4, ... 1000, all turned off. Outside the room there are 1000 men, numbered man1, man2, ...man 1000 In order, each man walks into the room and changes the position of each switch that is a multiple of his number. That is: man1 flips every switch man2 flips switches 2, 4, 6, 8 ....1000 man3 flips switches 3, 6, 9, ..... 999 ..... Man 1000 flips switch 1000 After all 1000 men are done, how many switches are on?
what is the work of 1tier,2tier,&ntier? Plz Explain it!
When you deliver your C++ headers and C++ library of a class (what all can you change in the class so that application using your class does not need to recompile the code)
how MATLSB software suitable for electrical branch? which tools are useful??
hi viewers, tell me,what is scripting and programming, define and difference...pls
how can i split string in a textbox in windows appication using C#.net
how we can call xml file in java file using Android platform?