Skip to content

Instantly share code, notes, and snippets.

Brant xkdcc

Block or report user

Report or block xkdcc

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View cheatsheet.rst
@xkdcc
xkdcc / linkedlist.py
Created Jul 6, 2018 — forked from addie/linkedlist.py
Python linked list
View linkedlist.py
class Node(object):
def __init__(self, data=None):
self.data = data
self.next = None
def __repr__(self):
return str(self.data)
class SinglyLinkedList(object):
def __init__(self, iterable=[]):
You can’t perform that action at this time.