Files
python/exercises/linked-list/linked_list.py

15 lines
305 B
Python
Raw Normal View History

2016-10-28 12:54:30 +02:00
# Skeleton file for the Python "linked-list" exercise.
2017-01-28 01:10:32 +00:00
# Implement the LinkedList class
2016-10-28 12:54:30 +02:00
class Node(object):
def __init__(self, value, next=None, prev=None):
self.value = value
self.next = next
self.prev = prev
class LinkedList(object):
def __init__(self):
2017-01-28 01:10:32 +00:00
pass