https://github.com/TheAlgorithms/Python/blob/b190c8f629d1fb8371fb9ea434d986a843b2ecab/data_structures/stacks/next_greater_element.py#L1