Skip to content

Commit a6612de

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 102f574 commit a6612de

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

data_structures/stacks/next_greater_element.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
right side of x in the array. If no such element exists, output -1.
77
"""
88

9+
910
def next_greater_elements(arr):
1011
stack = []
1112
result = [-1] * len(arr)

0 commit comments

Comments
 (0)