mirror of
https://github.com/donnemartin/interactive-coding-challenges.git
synced 2024-03-22 13:11:13 +08:00
Tweaked description of Constraints and Assumptions.
This commit is contained in:
parent
0b3b82ec2c
commit
25783b5bbb
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user