diff --git a/README.md b/README.md index 8954617..80efd79 100644 --- a/README.md +++ b/README.md @@ -33,13 +33,13 @@ This repo is a collection of my notes while sharpening my skills tackling coding | Notebook | Problem Statement | |--------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------| -| [unique_chars](http://nbviewer.ipython.org/github/donnemartin/algorithms-data-structures/blob/master/arrays-strings/unique_chars.ipynb) | Determine if a string contains unique characters | -| [reverse_string](http://nbviewer.ipython.org/github/donnemartin/algorithms-data-structures/blob/master/arrays-strings/reverse_string.ipynb) | Reverse characters in a string | -| [permutation](http://nbviewer.ipython.org/github/donnemartin/algorithms-data-structures/blob/master/arrays-strings/permutation.ipynb) | Determine if a string is a permutation of another | -| [replace_char](http://nbviewer.ipython.org/github/donnemartin/algorithms-data-structures/blob/master/arrays-strings/replace_char.ipynb) | Encode spaces in a string in-place | -| [compress](http://nbviewer.ipython.org/github/donnemartin/algorithms-data-structures/blob/master/arrays-strings/compress.ipynb) | Compress a string | -| [rotation](http://nbviewer.ipython.org/github/donnemartin/algorithms-data-structures/blob/master/arrays-strings/rotation.ipynb) | Determine if a string is a rotation of another | -| [hash-map](http://nbviewer.ipython.org/github/donnemartin/algorithms-data-structures/blob/master/arrays-strings/hash-map.ipynb) | Implement a hash table with set, get, and remove methods | +| [unique_chars](http://nbviewer.ipython.org/github/donnemartin/algorithms-data-structures/blob/master/arrays-strings/unique_chars/unique_chars.ipynb) | Determine if a string contains unique characters | +| [reverse_string](http://nbviewer.ipython.org/github/donnemartin/algorithms-data-structures/blob/master/arrays-strings/reverse_string/reverse_string.ipynb) | Reverse characters in a string | +| [permutation](http://nbviewer.ipython.org/github/donnemartin/algorithms-data-structures/blob/master/arrays-strings/permutation/permutation.ipynb) | Determine if a string is a permutation of another | +| [replace_char](http://nbviewer.ipython.org/github/donnemartin/algorithms-data-structures/blob/master/arrays-strings/replace_char/replace_char.ipynb) | Encode spaces in a string in-place | +| [compress](http://nbviewer.ipython.org/github/donnemartin/algorithms-data-structures/blob/master/arrays-strings/compress/compress.ipynb) | Compress a string | +| [rotation](http://nbviewer.ipython.org/github/donnemartin/algorithms-data-structures/blob/master/arrays-strings/rotation/rotation.ipynb) | Determine if a string is a rotation of another | +| [hash-map](http://nbviewer.ipython.org/github/donnemartin/algorithms-data-structures/blob/master/arrays-strings/hash_map/hash_map.ipynb) | Implement a hash table with set, get, and remove methods | ## Linked Lists diff --git a/arrays-strings/compress/__init__.py b/arrays-strings/compress/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/arrays-strings/compress.ipynb b/arrays-strings/compress/compress.ipynb similarity index 100% rename from arrays-strings/compress.ipynb rename to arrays-strings/compress/compress.ipynb diff --git a/arrays-strings/hash_map/__init__.py b/arrays-strings/hash_map/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/arrays-strings/hash-map.ipynb b/arrays-strings/hash_map/hash_map.ipynb similarity index 100% rename from arrays-strings/hash-map.ipynb rename to arrays-strings/hash_map/hash_map.ipynb diff --git a/arrays-strings/permutation/__init__.py b/arrays-strings/permutation/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/arrays-strings/permutation.ipynb b/arrays-strings/permutation/permutation.ipynb similarity index 100% rename from arrays-strings/permutation.ipynb rename to arrays-strings/permutation/permutation.ipynb diff --git a/arrays-strings/replace_char/__init__.py b/arrays-strings/replace_char/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/arrays-strings/replace_char.ipynb b/arrays-strings/replace_char/replace_char.ipynb similarity index 100% rename from arrays-strings/replace_char.ipynb rename to arrays-strings/replace_char/replace_char.ipynb diff --git a/arrays-strings/reverse_string/__init__.py b/arrays-strings/reverse_string/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/arrays-strings/reverse_string.cpp b/arrays-strings/reverse_string/reverse_string.cpp similarity index 100% rename from arrays-strings/reverse_string.cpp rename to arrays-strings/reverse_string/reverse_string.cpp diff --git a/arrays-strings/reverse_string.ipynb b/arrays-strings/reverse_string/reverse_string.ipynb similarity index 100% rename from arrays-strings/reverse_string.ipynb rename to arrays-strings/reverse_string/reverse_string.ipynb diff --git a/arrays-strings/rotation/__init__.py b/arrays-strings/rotation/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/arrays-strings/rotation.ipynb b/arrays-strings/rotation/rotation.ipynb similarity index 100% rename from arrays-strings/rotation.ipynb rename to arrays-strings/rotation/rotation.ipynb diff --git a/arrays-strings/unique_chars/__init__.py b/arrays-strings/unique_chars/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/arrays-strings/unique_chars.ipynb b/arrays-strings/unique_chars/unique_chars.ipynb similarity index 100% rename from arrays-strings/unique_chars.ipynb rename to arrays-strings/unique_chars/unique_chars.ipynb