Update arrays_strings constraints

This commit is contained in:
Donne Martin
2016-06-12 23:06:12 -04:00
parent 1bbe9c68d5
commit e1239d8902
8 changed files with 36 additions and 28 deletions

View File

@@ -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,