Commit Graph

2 Commits

Author SHA1 Message Date
Rootul Patel
96c06b44bd linked-list: Implement solution to extra-credit
- implement the __len__() and __iter__() methods
- the __len__() method has a bug in that it will incorrectly calculate
the length of a linked-list if `pop` or `shift` are called on an empty
linked-list. Fortunately the README states that:

> pop or shift will never be called on an empty list.
2017-01-28 01:18:44 +00:00
Tammo Behrends
1b5f747186 Merged master fixed conflict. 2016-10-28 12:54:30 +02:00