Showing posts with label Singly Linked List Python. Show all posts
Showing posts with label Singly Linked List Python. Show all posts

Monday, April 25, 2016

Singly Linked List Implementation in python

Below is a very simplistic implementation of a singly linked list. The linked list implementation is done using two classes Node and LinkedList. Node is a class representing each node of the linked list and LinkedList is a class representing the whole linked list itself.