Python/data_structures/linked_list
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
..
__init__.py psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00
circular_linked_list.py Adds operations for circular linked list (#1584) 2019-11-19 10:53:44 +01:00
doubly_linked_list.py GitHub Action formats our code with psf/black (#1569) 2019-11-14 19:59:43 +01:00
from_sequence.py GitHub Action formats our code with psf/black (#1569) 2019-11-14 19:59:43 +01:00
is_palindrome.py #315 Renamed all files to snake_case (#993) 2019-07-11 11:16:42 +02:00
print_reverse.py GitHub Action formats our code with psf/black (#1569) 2019-11-14 19:59:43 +01:00
singly_linked_list.py Update singly_linked_list.py (#1593) 2019-11-26 06:45:28 +01:00
swap_nodes.py psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00