Python/data_structures
Vikas Kumar 0d3c9d586c Update singly_linked_list.py (#1593)
* Update singly_linked_list.py

printing current.data rather than node address in __repr__ for a more readable print statement

* eval(repr(c)) == c

The output of `__repr__()` _should look like a valid Python expression that could be used to recreate an object with the same value_.

https://docs.python.org/3.4/reference/datamodel.html#object.__repr__

* += --> +
2019-11-26 06:45:28 +01:00
..
binary_tree GitHub Action formats our code with psf/black (#1569) 2019-11-14 19:59:43 +01:00
disjoint_set Add disjoint set (#1194) 2019-09-23 05:08:20 +02:00
hashing psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00
heap GitHub Action formats our code with psf/black (#1569) 2019-11-14 19:59:43 +01:00
linked_list Update singly_linked_list.py (#1593) 2019-11-26 06:45:28 +01:00
queue Tabs --> spaces in quine_mc_cluskey.py (#1426) 2019-11-21 22:21:40 +08:00
stacks Fix indentation contains tabs (flake8 E101,W191) (#1573) 2019-11-15 23:05:00 -08:00
trie Add delete to trie.py + tests (#1177) 2019-09-13 22:24:25 +02:00