Commit Graph

668 Commits

Author SHA1 Message Date
Donne Martin
0e866dc7c0 Update bst string representation method (#92)
__repr__ is also used by __str__, but not vice versa.
2016-07-20 07:24:04 -04:00
Donne Martin
a868f1e597 Polish fibonacci challenge and solution (#91)
Update constraints, test cases, tests, and code.
2016-07-11 00:12:10 -04:00
Donne Martin
cb660acd13 Rework graph challenge and solution (#90) 2016-07-04 07:16:15 -04:00
Donne Martin
618eeedfe3 Polish graph path exists challenge and solution (#89)
Update constraints and code.
2016-06-28 04:38:02 -04:00
Donne Martin
d4ef6108fb Update constraints for bfs and dfs graph challenge and solution (#88) 2016-06-28 04:35:29 -04:00
Donne Martin
46357c139c Update constraints for tree height challenge and solution (#87) 2016-06-28 04:33:10 -04:00
Donne Martin
5093103324 Rework graph challenge and solution (#86) 2016-06-26 17:48:32 -04:00
Donne Martin
70e8fdd7a3 Merge pull request #85 from donnemartin/develop
Update README
2016-06-25 22:30:16 -04:00
Donne Martin
2c1411a875 Swap order of sorting and trees/graphs in README 2016-06-25 22:26:10 -04:00
Donne Martin
6b7074ff69 Update bst successor README description 2016-06-25 22:23:44 -04:00
Donne Martin
d3fd7bc0a1 Polish bst check balanced challenge and solution (#84)
Update constraints, tests, and code.
2016-06-25 22:13:15 -04:00
Donne Martin
589ff06b15 Polish bst validate challenge and solution (#83)
Update constraints, test cases, tests, algorithm discussion, and code.
2016-06-25 22:08:54 -04:00
Donne Martin
7b573ceaa3 Polish bst successor challenge and solution (#82)
Update constraints, test cases, tests, algorithm discussion, and code.
2016-06-25 22:06:35 -04:00
Donne Martin
042161dc3b Update bst insert to return the inserted node (#81) 2016-06-25 21:03:26 -04:00
Donne Martin
7882ed9ae7 Polish check tree balance challenge and solution (#80)
Update constraints, test cases, tests, and code.
2016-06-25 08:42:16 -04:00
Donne Martin
996058195d Polish tree level lists challenge and solution (#79)
Update constraints and test cases.
2016-06-25 08:37:39 -04:00
Donne Martin
884bbe4870 Polish tree dfs challenge and solution (#78)
Update constraints and algorithm discussion.
2016-06-25 08:30:02 -04:00
Donne Martin
c7854b69cc Polish tree bfs challenge and solution (#77)
Update constraints and algorithm discussion.
2016-06-25 08:26:19 -04:00
Donne Martin
1321723eb9 Polish bst min challenge and solution (#76)
Update constraints, algorithm discussion, and code.
2016-06-25 08:23:28 -04:00
Donne Martin
c24a628329 Polish bst challenge and solution (#75)
Update constraints, algorithm discussion, and code.
2016-06-24 07:23:20 -04:00
Donne Martin
c7e9a85db7 Polish queue from stacks challenge and solution (#74)
Update constraints, algorithm discussion, and code.
2016-06-23 05:55:15 -04:00
Donne Martin
7f338b0e64 Polish set of stacks challenge and solution (#73)
Update constraints, algorithm discussion, and code.
2016-06-21 05:30:14 -04:00
Donne Martin
e71b280082 Polish stack min challenge and solution (#72)
Update constraints, algorithm discussion, code, and tests.
2016-06-20 06:54:08 -04:00
Donne Martin
98ad50edaf Update constraints for n stacks challenge and solution (#71) 2016-06-19 21:00:44 -04:00
Donne Martin
0d20ff5931 Polish queue challenge and solution (#70)
Update constraints, algorithm discussion, and code.
2016-06-19 20:08:26 -04:00
Donne Martin
4cdb85e22d Polish stack challenge and solution (#69)
Update constraints and code.
2016-06-19 20:02:53 -04:00
Donne Martin
c2bd267816 Merge pull request #68 from donnemartin/develop
Polish merge sort challenge and solution
2016-06-18 22:22:04 -04:00
Donne Martin
11e290e5a4 Polish merge sort challenge and solution
Update constraints and code.
2016-06-18 22:21:30 -04:00
Donne Martin
b470c821b4 Merge pull request #67 from donnemartin/develop
Polish quicksort challenge and solution
2016-06-18 22:17:40 -04:00
Donne Martin
981f775d97 Polish quicksort challenge and solution
Update constraints and code.
2016-06-18 22:17:09 -04:00
Donne Martin
31359896a8 Merge pull request #66 from donnemartin/develop
Polish insertion sort challenge and solution
2016-06-18 22:16:11 -04:00
Donne Martin
321ff02887 Polish insertion sort challenge and solution
Update constraints and code.
2016-06-18 22:15:48 -04:00
Donne Martin
e22ee5fbe2 Merge pull request #65 from donnemartin/develop
Polish selection sort challenge and solution
2016-06-18 22:12:49 -04:00
Donne Martin
d89d600e5b Polish selection sort challenge and solution
Update constraints, algorithm, code, and test.
2016-06-18 22:12:13 -04:00
Donne Martin
ea1bb12a13 Merge pull request #64 from donnemartin/develop
Update linked list constraints
2016-06-18 22:11:55 -04:00
Donne Martin
54b5e12230 Update linked list constraints
Specify singly linked list, non circular.  Also specify the solution fits in memory.
2016-06-18 13:55:29 -04:00
Donne Martin
dcfde9586e Merge pull request #63 from donnemartin/develop
Polish linked list palindrome challenge and solution
2016-06-18 13:54:03 -04:00
Donne Martin
98a71e72e9 Polish linked list palindrome challenge and solution
Update constraints and solution code.
2016-06-18 13:53:04 -04:00
Donne Martin
0611967dee Merge pull request #62 from donnemartin/develop
Polish delete mid node challenge and solution
2016-06-18 11:46:53 -04:00
Donne Martin
37cf2028e6 Polish delete mid node challenge and solution
Update edge cases and tests.
2016-06-18 11:46:00 -04:00
Donne Martin
99239dda62 Merge pull request #61 from donnemartin/develop
Polish linked list challenge and solution
2016-06-12 23:30:35 -04:00
Donne Martin
58409ac286 Polish linked list challenge and solution
Update algorithm discussion, solution, and constraints.
2016-06-12 23:29:58 -04:00
Donne Martin
1e9ffd3f33 Merge pull request #60 from donnemartin/develop
Polish kth to last element challenge and solution
2016-06-12 23:28:07 -04:00
Donne Martin
90f7505018 Polish kth to last element challenge and solution
Update algorithm discussion and solution.
2016-06-12 23:27:36 -04:00
Donne Martin
801e583762 Merge pull request #59 from donnemartin/develop
Polish remove duplicates challenge and solution
2016-06-12 23:26:20 -04:00
Donne Martin
8cc41e23af Polish remove duplicates challenge and solution
Update constraints and algorithm discussion.
2016-06-12 23:25:49 -04:00
Donne Martin
94aaedb49f Merge pull request #58 from donnemartin/develop
Polish find loop start challenge and solution
2016-06-12 23:23:18 -04:00
Donne Martin
47e34b10dd Polish find loop start challenge and solution
Change slow and fast nodes equality check from their data value to an object check.
2016-06-12 23:22:27 -04:00
Donne Martin
2dd8f4ac55 Merge pull request #57 from donnemartin/develop
Polish unique chars challenge and solution
2016-06-12 23:19:38 -04:00
Donne Martin
895011b685 Polish unique chars challenge and solution
Add None input test case.  Update constraints.
2016-06-12 23:19:09 -04:00