Skip to content

Commit 31ba599

Browse files
committed
Next greater element
1 parent f6ea7cc commit 31ba599

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

DSA 450 GFG/next_greater_element.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,5 @@ def nextGreaterElement(self, nums1, nums2):
4444
return [d[i] for i in nums1]
4545

4646

47-
# Contributed by Divya Rao (dsrao711)
47+
# Time Complexity: O(N)
48+
# Auxiliary Space: O(N)

0 commit comments

Comments
 (0)