Update linked list constraints

Specify singly linked list, non circular.  Also specify the solution fits in memory.
This commit is contained in:
Donne Martin
2016-06-18 13:55:29 -04:00
parent dcfde9586e
commit 54b5e12230
12 changed files with 28 additions and 12 deletions

View File

@@ -34,6 +34,8 @@
"source": [
"## Constraints\n",
"\n",
"* Can we assume this is a non-circular, singly linked list?\n",
" * Yes\n",
"* Do we expect the return to be in reverse order too?\n",
" * Yes\n",
"* What if one of the inputs is None?\n",
@@ -41,6 +43,8 @@
"* How large are these numbers--can they fit in memory?\n",
" * Yes\n",
"* Can we assume we already have a linked list class that can be used for this problem?\n",
" * Yes\n",
"* Can we assume this fits in memory?\n",
" * Yes"
]
},