SIGN IN SIGN UP
TheAlgorithms / Python UNCLAIMED

All Algorithms implemented in Python

219160 0 1 Python

Graph list patch (#4113)

* new implementation for adjacency list graph

* add example code for undirected graph

* reduce length to 88 columns max to fix build errors7

* fix pre commit issues

* replace print_list method with __str__

* return object in add_edge method to enable fluent syntax

* improve class docstring and include doctests

* add end of file line

* fix pre-commit issues

* remove __str__ method

* trigger build

* Update graph_list.py

* Update graph_list.py

Co-authored-by: gnc <[email protected]>
Co-authored-by: Christian Clauss <[email protected]>
N
Nwachukwu Chidiebere Godwin committed
03d34350f63fea41bac77264b7380f22c4c912f2
Parent: 677d48d
Committed by GitHub <[email protected]> on 1/12/2021, 1:41:48 PM