Donne Martin
391e814d2b
Add longest substring challenge
2017-03-28 05:00:23 -04:00
Donne Martin
54cee3457a
Add magic index challenge
2017-03-27 05:24:00 -04:00
Donne Martin
e5ccefb389
Add matrix mult challenge
2017-03-27 05:23:15 -04:00
Donne Martin
f0bca255ee
Add k max profit challenge
2017-03-27 05:22:19 -04:00
Donne Martin
9c0035f330
Add permutations challenge
2017-03-27 05:21:02 -04:00
Donne Martin
ba8325329a
Add power set challenge
2017-03-27 05:20:27 -04:00
Donne Martin
a0afa5c9d9
Add steps challenge
2017-03-27 05:19:37 -04:00
Donne Martin
abc982d360
Add merge into challenge
2017-03-27 05:15:51 -04:00
Donne Martin
d9edf2fa15
Add new int challenge
2017-03-27 05:15:40 -04:00
Donne Martin
c915ea69f5
Add radix sort challenge
2017-03-27 05:15:24 -04:00
Donne Martin
256755a962
Add rotated array search challenge
2017-03-27 05:14:53 -04:00
Donne Martin
1208e1110f
Add search sorted matrix challenge
2017-03-27 05:14:26 -04:00
Donne Martin
3e67ffea39
Add anagrams challenge
2017-03-27 05:13:54 -04:00
John Rieth
70414a6116
Change gnureadline with prompt toolkit for windows users
2017-03-14 23:20:36 -04:00
Donne Martin
a37e08d8d4
Update graphs challenges to add connected constraint ( #151 )
2017-03-13 05:24:32 -04:00
Donne Martin
7884146d54
Standardize spacing code style ( #150 )
2017-02-25 20:20:16 -05:00
Donne Martin
eba98452e3
Add fizz buzz challenge ( #149 )
2017-02-14 06:19:21 -05:00
Donne Martin
5acef100a9
Update credits ( #148 )
2017-02-13 18:55:09 -05:00
Donne Martin
7d66cf1a6f
Add missing __init__.py files ( #147 )
2017-02-11 21:41:21 -05:00
Donne Martin
13ef6c803e
Update bst challenge control flow ( #146 )
2017-02-09 05:20:53 -05:00
Donne Martin
a06617f0eb
Rework n pairs parens challenge ( #145 )
2017-02-08 06:36:49 -05:00
Donne Martin
2f2e25c33d
Move utopian tree challenge solution to a class ( #144 )
2017-02-05 12:15:53 -05:00
Donne Martin
cf48629858
Move xor challenge solution to a class ( #143 )
2017-02-04 19:07:06 -05:00
Donne Martin
098aaf196d
Update formatting and whitespace in a few challenges ( #142 )
2017-01-26 04:55:45 -05:00
Donne Martin
451ff2166a
Update insertion sort challenge solution ( #141 )
2017-01-23 06:53:57 -05:00
Donne Martin
91b3efc3e4
Move Fibonacci challenge code to a class ( #140 )
2017-01-22 12:06:58 -05:00
Donne Martin
f71936199b
Update selection sort challenge algorithm discussion ( #139 )
2017-01-21 19:35:29 -05:00
Donne Martin
c69769757d
Update merge sort challenge algorithm discussion ( #138 )
2017-01-17 06:16:43 -05:00
Donne Martin
d6da67c748
Update insertion sort challenge ( #137 )
...
Update constraints and algorithm.
2017-01-13 20:02:24 -05:00
Donne Martin
d6ae3fa785
Update quicksort challenge space complexity ( #136 )
2017-01-11 07:17:17 -05:00
Donne Martin
7945ec045d
Fix bst challenge time complexity discussion ( #135 )
2017-01-05 22:59:15 -05:00
Donne Martin
3d49bb1d43
Update quicksort challenge ( #134 )
...
Update constraints, test cases, code, algorithm, and tests.
2016-12-29 07:21:56 -05:00
Donne Martin
a6881bab68
Add sort gifs ( #133 )
2016-12-24 11:15:57 -05:00
Donne Martin
f0ae87ed74
Fix challenge titles punctuation ( #132 )
2016-12-18 07:20:35 -05:00
Donne Martin
daa7fba255
Update selection sort challenge ( #131 )
...
Update constraints, test cases, code, and tests.
2016-12-16 07:52:10 -05:00
Donne Martin
bb56b63c39
Update merge sort challenge ( #130 )
...
Update constraints, test cases, code, and tests.
2016-12-12 07:22:16 -05:00
Donne Martin
3cce1ffb51
Update insertion sort challenge ( #129 )
...
Update constraints, test cases, code, and tests.
2016-12-11 07:42:54 -05:00
Donne Martin
2399eb60d3
Update stack min challenge ( #128 )
...
Rename variable min_vals to stack_of_mins to improve clarity.
Rename method min to minimum to avoid using the same name as the built-in min.
2016-12-08 05:32:13 -05:00
Donne Martin
385bc54efa
Update tree bfs challenge ( #127 )
...
Switch from Exception to TypeError
2016-12-01 06:29:08 -05:00
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
Donne Martin
9636459124
Update hash map challenge ( #126 )
...
Make hash_function private.
2016-11-30 07:16:44 -05:00
Donne Martin
5977fc994d
Update linked list challenge ( #124 )
...
Remove extraneous check within the find method. Clean up delete method.
2016-11-27 08:43:48 -05:00
Donne Martin
08d86de559
Remove redundant graph templates ( #123 )
...
Use the top-level templates folder instead.
2016-11-26 09:14:31 -05:00
Donne Martin
520aa89555
Update graph challenge ( #122 )
...
Simplify add_node logic. Use more specific TypeError Exception.
2016-11-23 21:21:38 -05:00
Donne Martin
430cca2a01
Update hanoi challenge ( #121 )
...
Update constraints and test cases. Move implementation to a class. Update tests.
2016-11-19 09:01:44 -05:00
Donne Martin
14de5e4233
Update tree check balance challenge ( #120 )
...
Use more specific exception types.
2016-11-17 05:38:28 -05:00
Donne Martin
a0944eb5f4
Update graph dfs challenge ( #119 )
...
Fix algorithm space complexity.
2016-11-15 05:17:28 -05:00
Donne Martin
627ade950f
Update graph bfs challenge ( #118 )
...
Add more detail to algorithm space complexity.
2016-11-14 06:41:42 -05:00
Donne Martin
9a321b9f15
Update graph bfs challenge
...
Add more detail to algorithm space complexity.
2016-11-14 06:39:16 -05:00
Donne Martin
2d98b8a496
Update graph challenge ( #117 )
...
Use more specific exception types. Update constraints. Update add_undirected_edge to use add_edge.
2016-11-13 07:32:33 -05:00