Skip to content
This repository has been archived by the owner on Oct 2, 2021. It is now read-only.

Create Write Priority Queue Using Heap.java #120

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jyotidhatarwal
Copy link
Contributor

Write Priority Queue Using Heap code in java

Sample input:
add 10
add 20
add 30
add 40
peek
add 50
peek
remove
peek
remove
peek
remove
peek
remove
peek
quit

Sample output:
10
10
10
20
20
30
30
40
40
50

Write Priority Queue Using Heap code in java

Sample input:
add 10
add 20
add 30
add 40
peek
add 50
peek
remove
peek
remove
peek
remove
peek
remove
peek
quit

Sample output:
10
10
10
20
20
30
30
40
40
50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant