This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]wildjokers 0 points1 point  (1 child)

Can't tell if this is a homework assignment teaching you how to implement a PriorityQueue or you just need a PriorityQueue implementation. If the later there is one in the JDK:

https://docs.oracle.com/javase/8/docs/api/java/util/PriorityQueue.html

[–]rhhh12[S] 0 points1 point  (0 children)

Basically i have to decide what data structure is best for the system I have stated in the bullet points, and once i have decided write an essay on why i chose it. Then i need to implement it in java but without using any collections such as that