Update constraints for n stacks challenge and solution (#71)

This commit is contained in:
Donne Martin
2016-06-19 21:00:44 -04:00
committed by GitHub
parent 0d20ff5931
commit 98ad50edaf
2 changed files with 22 additions and 6 deletions

View File

@@ -34,6 +34,14 @@
"## Constraints\n",
"\n",
"* Are the stacks and array a fixed size?\n",
" * Yes\n",
"* Are the stacks equally sized?\n",
" * Yes\n",
"* Does pushing to a full stack result in an exception?\n",
" * Yes\n",
"* Does popping from an empty stack result in an exception?\n",
" * Yes\n",
"* Can we assume the user passed in stack index is valid?\n",
" * Yes"
]
},
@@ -249,7 +257,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.4.3"
"version": "3.5.0"
}
},
"nbformat": 4,