LC 技巧点

综合总结

  • MAXHeap的生成

PriorityQueue<Integer> maxHeap = new PriorityQueue<Integer>(Collections.reverseOrder());

评论

暂无评论