red-black tree
Предварительный просмотр (5 стр.)
Прокрутите вниз 👇
О "red-black tree"
red-black tree red-black tree algorithms and data structures course red-black tree red-black tree is a self-balancing binary search tree (bst) where every node follows following rules: every node has a color either red or black. root of tree is always black. there are no two adjacent red nodes (a red node cannot have a red parent or red child). every path from a node (including root) to any of its descendant node has the same number of black nodes. algorithms and data structures course red-black tree most of the bst operations (e.g., search, max, min, insert, delete, etc.) take time where h is the height of the bst. the cost of these operations may become for a skewed binary tree. …
Этот файл содержит 8 стр. в формате PPTX (384,1 КБ). Чтобы скачать "red-black tree", нажмите кнопку Telegram слева.