[mypy] Fix type annotations in data_structures/stacks/next_greater_element.py
#5763
Merged
l3str4nge merged 2 commits intoTheAlgorithms:masterfrom Nov 5, 2021
data_structures/stacks/next_greater_element.py
#5763