結果 : next greater element in array using stack