Question d’entretien chez Pine Labs

They asked a stack implementation question for next greater element to the right in an array.

Réponse à la question d'entretien

Utilisateur anonyme

23 août 2024

I knew the brute force so I just answered that in 2 mins but they wanted complete stack implementation.