Skip to content

Files

Latest commit

Jul 16, 2019
d45b3bf · Jul 16, 2019

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jul 16, 2019
Jul 16, 2019

Implement 3 stacks using a single list:

class Stack:
    def __init__(self):
        self.list = []

    def pop(self, stack_number):
        pass

    def push(self, item, stack_number):
        pass