They asked a stack implementation question for next greater element to the right in an array.
Anonymous
I knew the brute force so I just answered that in 2 mins but they wanted complete stack implementation.
Check out your Company Bowl for anonymous work chats.