Commit Graph

7 Commits

Author SHA1 Message Date
William Feng
c975cac371
function '__init__' miss a 'i'
__int__ should be __init__ i think?
2018-03-07 15:04:37 +08:00
cclauss
a88ad60365
Update singly_LinkedList.py 2018-01-21 08:59:55 +01:00
cclauss
d043448fd9
Fix unresolved name: insert_tail()
insert_tail(Head.next, data) --> Head.next.insert_tail(data)

Fixes: $ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics__
```
./data_structures/LinkedList/singly_LinkedList.py:14:13: F821 undefined name 'insert_tail'
            insert_tail(Head.next, data)
            ^
1     F821 undefined name 'insert_tail'
```

Also formats the code to be compliant with [PEP8](http://pep8.org).
2018-01-21 08:56:16 +01:00
cclauss
4e06949072 Modernize Python 2 code to get ready for Python 3 2017-11-25 10:23:50 +01:00
Tony De La Nuez
226a0a4ad8 Adding reverse() to singly-linked list
Updating singly-linked list to include a reverse method using the three-way shuffle method.
2017-10-22 18:04:10 -05:00
Corey Hu
86a5b0345f Recursive solution to insert_tail in singly_LinkedList 2017-10-12 23:56:14 -07:00
Avkaran singh
75007332e4 Create singly_LinkedList.py (#110)
* Create singly_LinkedList.py

* Update singly_LinkedList.py

* Update singly_LinkedList.py

* Update singly_LinkedList.py

* Update singly_LinkedList.py

* Update singly_LinkedList.py
2017-09-10 00:33:31 +05:30