interactive-coding-challenges/arrays_strings
Marek Piskorek a88f0a0b0b Add two more test cases for string compress coding challenge. (#125)
* Add two more test cases for string compress coding challenge.

I believe that the existing test cases are not strict enough to assure
a proper solution for this challenge.

I was able to implement a wrong, but still passing solution to this
basing on set and collections.Counter mechanism, since the test cases
present only situations with singular occurrences of a letter chain and
all the test strings are alphabetically sorted.

I believe that the two new test cases enforce more thorough approach to
the problem and, in effect, the test cases are more descriptive.

* Fix the results in tests since the solution changed in the meantine on
original branch.

* Update also the test_compress and solution.
2016-11-30 07:41:16 -05:00
..
compress Add two more test cases for string compress coding challenge. (#125) 2016-11-30 07:41:16 -05:00
compress_alt Add functional solution to compress string challenge (#103) 2016-10-26 08:00:40 -04:00
hash_map Update hash map challenge (#126) 2016-11-30 07:16:44 -05:00
permutation Move string permutation to a class 2016-08-13 06:39:19 -04:00
reverse_string Update reverse string challenge (#113) 2016-11-06 08:38:08 -05:00
rotation Move string rotation to a class 2016-08-13 06:40:52 -04:00
unique_chars Move unique chars to a class 2016-08-13 06:42:05 -04:00
__init__.py Renamed top-level folders to use underscores instead of dashes. 2015-06-28 06:39:24 -04:00