Created
April 17, 2019 22:55
-
-
Save DiegoGallegos4/583412010c25a8e4656146e3de9660a3 to your computer and use it in GitHub Desktop.
Stack and Queue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Stack: | |
def pop(self): | |
pass | |
def top(self): | |
pass | |
def push(self, key): | |
pass | |
class Queue: | |
def pop(self): | |
pass | |
def push(self, key): | |
pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment