Added stack challenge.

This commit is contained in:
Donne Martin
2015-07-02 23:06:52 -04:00
parent 8434c7d9f9
commit ba48e81bda
5 changed files with 305 additions and 13 deletions

View File

@@ -1,10 +1,11 @@
class Node(object):
def __init__(self, data):
self.data = data
self.next = None
class Stack(object):
def __init__(self, top=None):
self.top = top