Content deleted Content added
Update deletion pseudocode to match diagrams and other snippets |
m Fix variable case in deletion to match other snippets |
||
Line 166:
|- style="vertical-align:top"
|
1 BST-Delete(BST,
2 '''if'''
3 Shift-Nodes(BST,
4 '''else if'''
5 Shift-Nodes(BST,
6 '''else'''
7
8 '''if''' Y.parent ≠
9 Shift-Nodes(BST,
10
11
12 '''end if'''
13 Shift-Nodes(BST,
14
15
16 '''end if'''
|-
|