mirror of
https://github.com/donnemartin/interactive-coding-challenges
synced 2026-01-06 17:38:02 +00:00
Update linked list constraints
Specify singly linked list, non circular. Also specify the solution fits in memory.
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user