diff --git a/arrays_strings/better_compress/__init__.py b/arrays_strings/compress_alt/__init__.py
similarity index 100%
rename from arrays_strings/better_compress/__init__.py
rename to arrays_strings/compress_alt/__init__.py
diff --git a/arrays_strings/better_compress/better_compress_challenge.ipynb b/arrays_strings/compress_alt/better_compress_challenge.ipynb
similarity index 94%
rename from arrays_strings/better_compress/better_compress_challenge.ipynb
rename to arrays_strings/compress_alt/better_compress_challenge.ipynb
index b1f3afe..cc170f7 100644
--- a/arrays_strings/better_compress/better_compress_challenge.ipynb
+++ b/arrays_strings/compress_alt/better_compress_challenge.ipynb
@@ -4,7 +4,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "This notebook was prepared by [Donne Martin](http://donnemartin.com). Source and license info is on [GitHub](https://github.com/donnemartin/interactive-coding-challenges)."
+ "This notebook was prepared by [hashhar](https://github.com/hashhar). Source and license info is on [GitHub](https://github.com/donnemartin/interactive-coding-challenges)."
]
},
{
diff --git a/arrays_strings/better_compress/better_compress_solution.ipynb b/arrays_strings/compress_alt/better_compress_solution.ipynb
similarity index 92%
rename from arrays_strings/better_compress/better_compress_solution.ipynb
rename to arrays_strings/compress_alt/better_compress_solution.ipynb
index 2e9a0c0..d5b472f 100644
--- a/arrays_strings/better_compress/better_compress_solution.ipynb
+++ b/arrays_strings/compress_alt/better_compress_solution.ipynb
@@ -4,7 +4,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "This notebook was prepared by [Donne Martin](http://donnemartin.com). Source and license info is on [GitHub](https://github.com/donnemartin/interactive-coding-challenges)."
+ "This notebook was prepared by [hashhar](https://github.com/hashhar). Source and license info is on [GitHub](https://github.com/donnemartin/interactive-coding-challenges)."
]
},
{
@@ -101,7 +101,7 @@
},
{
"cell_type": "code",
- "execution_count": 4,
+ "execution_count": 1,
"metadata": {
"collapsed": false
},
@@ -127,8 +127,8 @@
"\n",
" # Create compressed_string\n",
" # New objective:\n",
- " # Single characters are to be left as is\n",
- " # Double characters are to be left as are\n",
+ " # Single characters are to be left as is\n",
+ " # Double characters are to be left as are\n",
" compressed_string = list()\n",
" count = 0\n",
" last_char = string[0]\n",
@@ -171,7 +171,7 @@
},
{
"cell_type": "code",
- "execution_count": 5,
+ "execution_count": 2,
"metadata": {
"collapsed": false
},
@@ -211,7 +211,7 @@
},
{
"cell_type": "code",
- "execution_count": 7,
+ "execution_count": 3,
"metadata": {
"collapsed": false
},
@@ -227,15 +227,6 @@
"source": [
"%run -i test_compress.py"
]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {
- "collapsed": true
- },
- "outputs": [],
- "source": []
}
],
"metadata": {
@@ -254,7 +245,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
- "version": "3.5.0"
+ "version": "3.4.3"
}
},
"nbformat": 4,
diff --git a/arrays_strings/better_compress/test_compress.py b/arrays_strings/compress_alt/test_compress.py
similarity index 100%
rename from arrays_strings/better_compress/test_compress.py
rename to arrays_strings/compress_alt/test_compress.py