查询时间复杂度 O(1)
添加时间复杂度 O(1)
删除时间复杂度 O(1)
哈希冲突后: 查询时间复杂度 O(N), 添加时间复杂度 O(N), 删除时间复杂度 O(N)
前序遍历(根,左,右)
中序遍历(左,根,右)
后序遍历(左,右,根)
左子树上所有结点的值均小于它的根结点的值,右子树上所有结点的值均大于它的根结点的值
查询时间复杂度 O(logN)
添加时间复杂度 O(logN)
删除时间复杂度 O(logN)
大根堆
小根堆
GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — algorithm013/Week_02 at master · sleepybear1125/algorithm013 |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |