mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-27 19:38:39 +00:00
Annotating Stack
This commit is contained in:
parent
60fb7eee85
commit
d087488661
@ -27,7 +27,7 @@ class MinMaxStack:
|
||||
|
||||
def __init__(self, max_stack_size: int = 10) -> None:
|
||||
self.max_size = max_stack_size
|
||||
self.stack = []
|
||||
self.stack: list[StackData] = []
|
||||
|
||||
def push_value(self, value: float) -> bool:
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user