Fixed Big O space complexity.

This commit is contained in:
Donne Martin 2015-08-13 06:51:53 -04:00
parent d99db4e110
commit e50dff94b0

View File

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