Commit Graph

777 Commits

Author SHA1 Message Date
Donne Martin
9c441e9f18 Polish find loop start solution. 2016-02-20 12:53:27 -05:00
Donne Martin
7a166bed67 Polish stack solution. 2016-02-20 08:11:49 -05:00
Donne Martin
08fabdf58d Tweak remove dupes solution to use a single node 'reference'. 2016-02-15 06:29:11 -05:00
Donne Martin
21add6f4f5 Rename list_of_chars to reverse_string. 2016-02-14 06:04:48 -05:00
Donne Martin
27a0bf786e Update remove dupes unit test to handle more cases. 2016-02-10 06:33:30 -05:00
Donne Martin
71cb434de7 Polish delete mid solution. 2016-02-10 06:32:31 -05:00
Donne Martin
feb3ed3129 Polish add reverse solution. 2016-02-10 06:30:36 -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
af2f461239 Merge branch 'develop'
* develop:
  Update compress challenge based on #44.
2016-02-09 07:02:34 -05:00
Donne Martin
2084bbf5c9 Update compress challenge based on #44. 2016-02-09 07:00:41 -05:00
Donne Martin
b53d7ba9ef Merge pull request #44 from donnemartin/develop
Polish compress string solution
2016-02-09 06:54:46 -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
81f0f0c1af Merge branch 'irheart-reverse_string/check-inplace'
* irheart-reverse_string/check-inplace:
  Add in-place reverse string test to solution notebook.
  Test for inplace modification of the array.
2016-02-09 04:47:10 -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
784730685b Merge branch 'feature/polish-compression' into develop
* feature/polish-compression:
  Rename alt compress solution.
  Fix indentation.
  Update author to hashhar's challenge.
2016-02-09 04:36:07 -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
Donne Martin
06dbb2e3f7 Merge pull request #39 from hashhar/better-compression
Code concerning Issue #38
2016-02-09 04:29:06 -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
Donne Martin
7063af0022 Add .gitattributes. 2015-12-16 06:59:25 -05:00
Donne Martin
fbf546ccc3 Update template notebook headers to render properly on nbviewer, update author link. 2015-12-11 05:19:33 -05:00
Donne Martin
5d1f8ae79e Add bst successor challenge. 2015-12-02 07:14:34 -05:00
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
Donne Martin
89d12dbeb7 Merge pull request #37 from superxiao/master
Fix check_balance solution for a new test case
2015-10-27 20:38:00 -04:00
Xiaojian Wang
edfbec618f Fix check_balance solution for a new test case 2015-10-09 22:53:42 -07:00
Donne Martin
6276624914 Merge branch 'master' of https://github.com/donnemartin/interactive-coding-challenges
* 'master' of https://github.com/donnemartin/interactive-coding-challenges:
  minor phrasing fix
2015-08-23 08:08:58 -04:00
Donne Martin
1f45095f60 Added three state variable visit_state which will be useful for more advanced challenges such as topological sort. 2015-08-23 08:08:46 -04:00
Donne Martin
679f202c97 Merge pull request #34 from rafadaguiar/master
Tweaked stack sort algorithm discussion.
2015-08-17 07:08:47 -04:00
Rafael Aguiar
95c1870d02 minor phrasing fix 2015-08-16 11:13:03 -03:00
Donne Martin
82b74ca7b4 Revised path exists challenge algorithm discussion. 2015-08-16 08:23:26 -04:00
Donne Martin
6b269d0f45 Updated bst to keep track of its parent and to return the node it inserts. 2015-08-16 08:21:11 -04:00
Donne Martin
f26f61e949 Added bst validate challenge. 2015-08-14 19:30:09 -04:00
Donne Martin
c595ea0fd7 Fixed nbviewer links for path between two nodes graph challenge. 2015-08-14 19:29:05 -04:00
Donne Martin
5a697d7e7c Fixed Big O space complexity. 2015-08-13 06:52:32 -04:00
Donne Martin
224aef1d47 Fixed Big O space complexities. 2015-08-13 06:52:15 -04:00
Donne Martin
e50dff94b0 Fixed Big O space complexity. 2015-08-13 06:51:53 -04:00
Donne Martin
d99db4e110 Fixed Big O complexities. 2015-08-13 06:48:52 -04:00
Donne Martin
d6efaca8d8 Fixed whitespace for PEP8. 2015-08-13 06:48:08 -04:00