結果 : difference between monotonic stack and priority queue