mirror of
https://github.com/donnemartin/interactive-coding-challenges
synced 2026-01-07 09:58:03 +00:00
Update arrays_strings constraints
This commit is contained in:
@@ -34,12 +34,12 @@
|
||||
"source": [
|
||||
"## Constraints\n",
|
||||
"\n",
|
||||
"* Can I assume the string is ASCII?\n",
|
||||
"* Can we assume the string is ASCII?\n",
|
||||
" * Yes\n",
|
||||
" * Note: Unicode strings could require special handling depending on your language\n",
|
||||
"* Since we need to do this in-place, it seems we cannot use the slice operator or the reversed function?\n",
|
||||
" * Correct\n",
|
||||
"* Since Python string are immutable, can I use a list of characters instead?\n",
|
||||
"* Since Python string are immutable, can we use a list of characters instead?\n",
|
||||
" * Yes"
|
||||
]
|
||||
},
|
||||
@@ -164,7 +164,7 @@
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.4.3"
|
||||
"version": "3.5.0"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
|
||||
Reference in New Issue
Block a user