Assertion: tree's parent | /r/HasProperty | = n -
Facets:
Source sentences:
text: void ReplaceNode ( Node * n , Node * child ) { child -> parent = n -> parent ; if ( n == n -> parent -> left ) { n -> parent -> left = child ; } else { n -> parent -> right = child ; } } void DeleteOneChild ( Node * n )