Commit Graph

60 Commits

Author SHA1 Message Date
Donne Martin
395264378c Update constraints for compress challenge and solution 2016-06-04 13:40:15 -04:00
Donne Martin
21add6f4f5 Rename list_of_chars to reverse_string. 2016-02-14 06:04:48 -05:00
Donne Martin
b0a091f589 Polish rotation solution. 2016-02-10 06:30:11 -05:00
Donne Martin
75becf1afb Polish permutation solution. 2016-02-10 06:29:50 -05:00
Donne Martin
186a192c61 Update array compress unit test to match solution and challenge notebooks. 2016-02-10 06:29:22 -05:00
Donne Martin
fe4c118812 Update final char case and unit test for #44. 2016-02-09 07:20:07 -05:00
Donne Martin
2084bbf5c9 Update compress challenge based on #44. 2016-02-09 07:00:41 -05:00
Donne Martin
4953e6c114 Update compress solution so AAAAB becomes A4B.
Previously the solution would yield A4B1, which doesn't have as much compression.
2016-02-09 06:52:32 -05:00
Donne Martin
9bf96eabaa Polish compress solution. 2016-02-09 06:49:29 -05:00
Donne Martin
eee55dfa80 Add in-place reverse string test to solution notebook. 2016-02-09 04:46:44 -05:00
Donne Martin
363105cfc0 Merge branch 'reverse_string/check-inplace' of git://github.com/irheart/interactive-coding-challenges into irheart-reverse_string/check-inplace
* 'reverse_string/check-inplace' of git://github.com/irheart/interactive-coding-challenges:
  Test for inplace modification of the array.
2016-02-09 04:40:31 -05:00
Donne Martin
668864aa62 Rename alt compress solution. 2016-02-09 04:35:09 -05:00
Donne Martin
d9b5c57d5e Fix indentation. 2016-02-09 04:33:48 -05:00
Donne Martin
53d0ce9142 Update author to hashhar's challenge. 2016-02-09 04:33:09 -05:00
kmt
2fd239fbeb Test for inplace modification of the array. 2016-01-20 21:40:15 +03:00
Ashhar Hasan
aa24c9a173 Removed the fixme 2015-12-19 02:36:11 +05:30
Ashhar Hasan
ec6ced98a1 Replaced tabs with spaces 2015-12-19 02:32:46 +05:30
Ashhar Hasan
bbb9b74f0f Restored original compression challenge 2015-12-19 02:20:59 +05:30
Ashhar Hasan
7d6b374380 Separate challenge for better compression 2015-12-19 02:15:14 +05:30
Ashhar Hasan
206841bc5d New test case to illustrate the improvements 2015-10-30 03:24:56 +05:30
Ashhar Hasan
eb44aae3f5 Added the same changes to test cases in the challenge notebook 2015-10-30 03:15:27 +05:30
Ashhar Hasan
ef77603f9b Improved compression by only appending count if the count is more than 2 2015-10-30 03:06:17 +05:30
Rafael Aguiar
a6e2f15122 minor phrasing fix on challenge constraints 2015-07-24 17:22:17 -03:00
Donne Martin
6509ffbde6 Moved reverse words challenge to staging area for further development. 2015-07-22 04:33:23 -04:00
mag6367
a567898dab new challenge: reverse_words 2015-07-16 10:20:18 -05:00
Donne Martin
374d67ff30 Fix #13, PEP8-ify notebooks. 2015-07-11 15:34:14 -04:00
Donne Martin
44b73e3367 Tweaked compress challenge to make it more explicit that you should only compress a string if it saves space. Fixes #2. 2015-07-07 17:15:18 -04:00
Donne Martin
53f7c0e4d8 Fixed Python2 vs Python3 division compatibility. 2015-07-06 06:58:42 -04:00
Donne Martin
73924c279a Removed bytearray solution, needs some tweaks to make it work with Python 3. 2015-07-06 06:30:00 -04:00
Donne Martin
45fa576bc2 Changed xrange to range to be compatible with Python 3. 2015-07-06 06:15:53 -04:00
Donne Martin
fac7bbb1be Tweaked constraints section discussion. 2015-07-06 06:03:09 -04:00
Donne Martin
47e6a23dde Changed discussions of NULL to None to be more Pythonic. 2015-07-06 05:44:06 -04:00
Donne Martin
e75e128aa5 Removed replace char challenge, needs some more work to translate this classic problem to python. 2015-07-05 09:29:42 -04:00
Donne Martin
f7f9160ba4 Tweaked replace char challenge problem statement and contraints. 2015-07-05 09:27:11 -04:00
Donne Martin
f824de0807 Tweaked unique chars challenge algorithm discussion. 2015-07-05 09:24:33 -04:00
Donne Martin
ea02d83d09 Tweaked rotation challenge algorithm discussion. 2015-07-05 09:12:43 -04:00
Donne Martin
a1990f2298 Tweaked reverse challenge code solution. 2015-07-05 09:10:22 -04:00
Donne Martin
11bd2e9768 Tweaked permutations challenge algorithm discussion. 2015-07-05 09:03:19 -04:00
Donne Martin
d4d7c29c9d Tweaked compress challenge. 2015-07-05 08:54:49 -04:00
Donne Martin
4f5b441b5a Tweaked unique chars test cases section to be more consistent with other notebooks. 2015-07-05 08:31:41 -04:00
Donne Martin
08c57f3774 Fixed solution notebook link to unique chars challenge. 2015-07-05 08:30:45 -04:00
Donne Martin
42ada56101 Added solution notebook link to unique chars challenge. 2015-07-05 08:22:29 -04:00
Donne Martin
78dadf9e45 Updated repo name. 2015-07-05 07:59:00 -04:00
Donne Martin
c1faf5e680 Set solution to blank for unique chars challenge. 2015-07-05 07:56:28 -04:00
Donne Martin
888d3bb772 Tweaked rotation challenge. 2015-07-03 19:57:56 -04:00
Donne Martin
8ac0bd3f69 Added unique chars challenge. 2015-07-03 19:57:24 -04:00
Donne Martin
73ec41e427 Added reverse string challenge. 2015-07-03 19:57:09 -04:00
Donne Martin
ac42b882bb Added replace char challenge. 2015-07-03 19:56:54 -04:00
Donne Martin
fb7de503af Added permutation challenge. 2015-07-03 19:56:38 -04:00
Donne Martin
0f34948626 Added hash map challenge. 2015-07-03 19:56:11 -04:00