This commit is contained in:
Ryan Russell 2024-07-17 10:41:54 +09:00 committed by GitHub
commit 6117583026
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -145,7 +145,7 @@ end remove
findParent(value, root)
Pre: value is the value of the node we want to find the parent of
root is the root node of the BST and is != ø
Post: a reference to the prent node of value if found; otherwise ø
Post: a reference to the parent node of value if found; otherwise ø
if value = root.value
return ø
end if

View File

@ -143,7 +143,7 @@ end remove
findParent(value, root)
Pre: value is the value of the node we want to find the parent of
root is the root node of the BST and is != ø
Post: a reference to the prent node of value if found; otherwise ø
Post: a reference to the parent node of value if found; otherwise ø
if value = root.value
return ø
end if