mirror of
https://github.com/donnemartin/interactive-coding-challenges
synced 2026-01-06 17:38:02 +00:00
Added stack challenge.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user