diff --git a/src/data-structures/tree/binary-search-tree/README.md b/src/data-structures/tree/binary-search-tree/README.md index d05a8915..32aba77f 100644 --- a/src/data-structures/tree/binary-search-tree/README.md +++ b/src/data-structures/tree/binary-search-tree/README.md @@ -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 diff --git a/src/data-structures/tree/binary-search-tree/README.pt-BR.md b/src/data-structures/tree/binary-search-tree/README.pt-BR.md index 1e717141..0a68e8c1 100644 --- a/src/data-structures/tree/binary-search-tree/README.pt-BR.md +++ b/src/data-structures/tree/binary-search-tree/README.pt-BR.md @@ -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