data structures - What is the Big-O complexity of a general tree? -


what mean general tree unbalanced tree multiple child nodes (not restricted 2 child node each branch binary tree). big-o complexity of remove node, insert node, find node

the average time complexity of searching in balanced bst in o(log(n)). worst case complexity of searching in unbalanced binary tree o(n).


Comments

Popular posts from this blog

html - How to custom Bootstrap grid height? -

javascript - pass values from mssql to views in node -

javascript - Understanding ExtJS Framework Syntax -