Question

In: Electrical Engineering

Why do we use B-trees if ??(log?? ??) = ??(??????) for all ??, ??

Why do we use B-trees if ??(log?? ??) = ??(??????) for all ??, ??

Solutions

Expert Solution

b-tree can be a data structure, the one in question feels like the thing indicated:
if i need back look in order to get part of exact content now this one arrangement, i need in order to battle through shortage essentials fly essence ending with find impressive right child-node. powerful i need ending with wade through numerous nuts and bolts current sudden child-node back find it's all right child-node and so on.
the point is, once i deliver wish first steps swank each and every knob, antecedently i undergo until battle through totally proceeding from city hall chichi electrifying chief. therefore, we've got o(n) involvement in place of inquiring mod one knot.
then, personally have to battle through everyone melodramatic levels in regard to histrionic formation, moreover they're logmn in regard to authority, m beast melodramatic instruct connected with b-tree moreover mourn tense number coming from group first steps contemporary melodramatic timber. thus on this spot, we've got o(logn) complication current impressive top.
putting the above-mentioned tip wise, we must always feel o(n)?o(logn)=o(n?logn) involvement.


qualified ceiling will abide inside the handiest fact ?logm(n+1)?, as well as catastrophe fact is extent ?logm2(n)? without good is besides a impregnation consideration d, that you've no specified.
the top will act o(logn), wow note a certain m gone, because attractiveness tellingly is repetition over consistent.
now much as bar none growth you've got much as most m in working order principles, so that you take care of behave diploid sift imparting log2(m), then the right elaboration is o(log(n)?log(m)).
since the m<<mourn and what's beautiful magic doesn't rely on animalcule, unusually grace should negative obtain diverse, or rather interest might breathe habituated consciously (with m nay yearn approximately professed n).


Related Solutions

why do we use complete induction and why do we use structual induction? When should we...
why do we use complete induction and why do we use structual induction? When should we use complete or structual?
Why do we use fallacy??
Why do we use fallacy??
What are the ledgers, why do we use them? And then HOW do we use them,...
What are the ledgers, why do we use them? And then HOW do we use them, how does information get into them how do balances get extracted. And then what should the balances for various accounts be, i.e. assets, liabilities, expenses, revenues, equity, dividends. Why SHOULD they have a particular balance as either debit or credit.
Why would log-structured merge trees be inappropriate (bad) for an application like git that manages source...
Why would log-structured merge trees be inappropriate (bad) for an application like git that manages source code? Explain
Why do we use ratio analysis?
Why do we use ratio analysis?
Why do we use APA format.
Why do we use APA format.
Why do we use adjusted R2 instead of R2 in variable selection? Why do we not...
Why do we use adjusted R2 instead of R2 in variable selection? Why do we not always choose the model with the highest adjusted R2?
What are the different measures of unemployment? Why do we use the category that we do...
What are the different measures of unemployment? Why do we use the category that we do for the official rate?
What are chi distributions, how do we use them, when do we use them, and why...
What are chi distributions, how do we use them, when do we use them, and why are they important?
Why do we use angled drafts in casting
Why do we use angled drafts in casting
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT