Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 248 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 248 Bytes

This problem was asked by Microsoft.

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