結果 : next greater element using monotonic stack