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",
"* Can we assume k is a valid integer?\n",
" * Yes\n",
"* If k = 0, does this return the last element?\n",

View File

@@ -33,6 +33,8 @@
"source": [
"## Constraints\n",
"\n",
"* Can we assume this is a non-circular, singly linked list?\n",
" * Yes\n",
"* Can we assume k is a valid integer?\n",
" * Yes\n",
"* If k = 0, does this return the last element?\n",