Update formatting and whitespace in a few challenges (#142)

This commit is contained in:
Donne Martin
2017-01-26 04:55:45 -05:00
committed by GitHub
parent 451ff2166a
commit 098aaf196d
4 changed files with 8 additions and 6 deletions

View File

@@ -62,9 +62,9 @@
"* Create three stacks to represent each tower\n",
"* def hanoi(n, src, dest, buffer):\n",
" * If 0 disks return\n",
" * hanoi(n-1, src, buffer)\n",
" * hanoi(n-1, src, buffer, dest)\n",
" * Move remaining element from src to dest\n",
" * hanoi(n-1, buffer, dest) \n",
" * hanoi(n-1, buffer, dest, src)\n",
"\n",
"Complexity:\n",
"* Time: O(2^n)\n",