全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Ordered dictionary, successor?

又称: ordered dictionary · successor (in a search tree)

Definition 17.4 University Computer Science — Year 1 · 第 17 章 — Binary Search Trees and Balanced Trees

An ordered dictionary is a dictionary whose keys are ordered, with the further operations minimum, maximum, floor (the largest key at most kk), ceiling, successor (the smallest key larger than kk), and the listing of the keys between two bounds.

Left: the tree of  and the path of the search for the floor of Jo (shaded): Mia, Eli, Ivy and Kai; the answer is Ivy, the last node where the search went right. Right: after deleting Eli, its successor Gus has taken its place.
Left: the tree of Output 17.1 and the path of the search for the floor of Jo (shaded): Mia, Eli, Ivy and Kai; the answer is Ivy, the last node where the search went right. Right: after deleting Eli, its successor Gus has taken its place.
在原文中阅读 →