摘要:
Abinary treeis atree data structurein which each node has at most twochild nodes, usually distinguished as "left" and "right". Nodes with children areparent nodes, and child nodes may contain references to their parents. Outside the tree, there is often a reference to the "r 阅读全文
摘要:
Queueis a particular kind ofabstract data typeorcollectionin which the entities in the collection are kept in order and the principal (or only) operations on the collection are the addition of entities to the rear terminal position, known asenqueue,and removal of entities from the front terminal pos 阅读全文
摘要:
Stackis a particular kind ofabstract data typeorcollectionin which the principal (or only) operations on the collection are the addition of an entity to the collection, known aspushand removal of an entity, known aspop.The relation between the push and pop operations is such that the stack is aLast- 阅读全文
摘要:
Bucket sort, orbin sort, is asorting algorithmthat works by partitioning anarrayinto a number ofbuckets. Each bucket is then sorted individually, either using a different sorting algorithm, or by recursively applying the bucket sorting algorithm. It is adistribution sort, and is a cousin ofradix sor 阅读全文