Commit Graph

14 Commits

Author SHA1 Message Date
Gregory Mazzola
d60f4a904c Fix compilation error in graph_challenge notebook (#172) 2017-04-10 06:35:58 -04:00
Donne Martin
a37e08d8d4 Update graphs challenges to add connected constraint (#151) 2017-03-13 05:24:32 -04:00
Donne Martin
098aaf196d Update formatting and whitespace in a few challenges (#142) 2017-01-26 04:55:45 -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
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
Donne Martin
a9d18bdcc0 Fix notebook credits to render properly on nbviewer (#94) 2016-07-31 08:11:18 -04:00
Donne Martin
113eddd3c3 Update graph remove_neighbor error handling (#93) 2016-07-20 07:29:48 -04:00
Donne Martin
cb660acd13 Rework graph challenge and solution (#90) 2016-07-04 07:16:15 -04:00
Donne Martin
5093103324 Rework graph challenge and solution (#86) 2016-06-26 17:48:32 -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
b109b6f8cc Simplified challenge coding and unit tests by working with the node directly as opposed to node.id or node.data, which is more natural when writing coding challenges. 2015-08-05 06:14:44 -04:00
Donne Martin
ab69f7d066 Reworked graph challenge. 2015-08-04 19:37:05 -04:00
Donne Martin
9dc4116256 Revised constraints and algorithm. Added comment denoting key/value for each dictionary in the code section. 2015-08-04 08:09:16 -04:00
Donne Martin
92e0318952 Added basic graph implementation challenge. 2015-08-03 06:24:38 -04:00