Use the PriorityQueue class to add elements into a queue and poll them. Peek returns the first element.
確定! 回上一頁