Skip to content

Instantly share code, notes, and snippets.

@raymondchua
Created December 2, 2013 00:05
Show Gist options
  • Save raymondchua/7742613 to your computer and use it in GitHub Desktop.
Save raymondchua/7742613 to your computer and use it in GitHub Desktop.
Creates an object node.
class Node:
def __init__(self,value):
self.value = value
self.adjacentNodes=[]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment