mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2026-02-04 05:06:59 +08:00
fixed some spellings
This commit is contained in:
@@ -25,7 +25,7 @@ class BinaryTree {
|
||||
return this.traversal.toLocaleString()
|
||||
}
|
||||
|
||||
// Compputing the height of the tree
|
||||
// Computing the height of the tree
|
||||
getHeight (node) {
|
||||
if (node == null) {
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user