結果 : max heap and min heap in java using priority queue