Tweaked description of Constraints and Assumptions.

This commit is contained in:
Donne Martin 2015-06-26 04:47:39 -04:00
parent 0b3b82ec2c
commit 25783b5bbb

View File

@ -13,7 +13,7 @@
"source": [ "source": [
"## Problem: Implement an algorithm to determine if a string has all unique characters\n", "## Problem: Implement an algorithm to determine if a string has all unique characters\n",
"\n", "\n",
"* [Clarifying Questions](#Clarifying-Questions)\n", "* [Constraints and Assumptions](#Constraints-and-Assumptions)\n",
"* [Test Cases](#Test-Cases)\n", "* [Test Cases](#Test-Cases)\n",
"* [Algorithm 1: Sets and Length Comparison](#Algorithm-1:-Sets-and-Length-Comparison)\n", "* [Algorithm 1: Sets and Length Comparison](#Algorithm-1:-Sets-and-Length-Comparison)\n",
"* [Code: Sets and Length Comparison](#Code:-Sets-and-Length-Comparison)\n", "* [Code: Sets and Length Comparison](#Code:-Sets-and-Length-Comparison)\n",
@ -28,9 +28,9 @@
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {},
"source": [ "source": [
"## Clarifying Questions\n", "## Constraints and Assumptions\n",
"\n", "\n",
"*Problem statements are sometimes intentionally ambiguous. Asking clarifying questions, identifying constraints, and stating assumptions help to ensure you code the intended solution.*\n", "*Problem statements are often intentionally ambiguous. Identifying constraints and stating assumptions can help to ensure you code the intended solution.*\n",
"\n", "\n",
"* Can I assume the string is ASCII?\n", "* Can I assume the string is ASCII?\n",
" * Yes\n", " * Yes\n",