7. deleteNode(int key)
75
30 85
2
15
50
25
By yaboong
https://yaboong.github.io
70
18
32
parent
focusNode
isLeftChild == true
replacementNode 의 오른쪽 자식
을 삭제노드의 오른쪽 자식으로 연
결시킨다
26
8. deleteNode(int key)
75
30 85
2
15
50
25
By yaboong
https://yaboong.github.io
70
18
32
parent
focusNode
isLeftChild == true
삭제하려는 노드의 왼쪽 sub tree
를 replacementNode 의 왼쪽 자식
으로 연결시킨다
26