Question d’entretien chez Unbxd

Next greater element in array in o(n)