Fixed Big O space complexity.

This commit is contained in:
Donne Martin 2015-08-13 06:52:32 -04:00
parent 224aef1d47
commit 5a697d7e7c

View File

@ -62,7 +62,7 @@
" \n",
"Complexity:\n",
"* Time: O(n)\n",
"* Space: O(log n)"
"* Space: O(h), where h is the height of the tree"
]
},
{