Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Java 

Java Heap Data Structures Assignment

So I have been stuck on this assignment for a little bit. The professor gave us a total of 6 methods to code ourselves.4 methods reside in the heap class while the other 2 reside in the Priority Queue class. Now I can not get the correct output. I do not know if the problem is in the heap file or priority Queue. Any direction would be appreciated!
google.com/file/d/1SVUgtBkXCrVQEu30KSa3iC7Oo-bnqVVo/view?usp=sharing]Rar with source files
Can you Pastebin the code or paste it here?
(Apr 30, 2018 09:14 PM)Bear Wrote:  Can you Pastebin the code or paste it here?

https://pastebin.com/g0yr4t6E
https://pastebin.com/13E5zeqT

There are other files in the RAR, but these are the ones OP wants help with
(Apr 30, 2018 09:14 PM)Bear Wrote:  Can you Pastebin the code or paste it here?

Only the Heap and PQ class are allowed to be changed

https://pastebin.com/Uw4aZ7Tx
https://pastebin.com/4ezsRQHX
https://pastebin.com/rmXuSXPF
https://pastebin.com/Gu7CMn0u
https://pastebin.com/YsJT6kWq
https://pastebin.com/PxBACR16

Links that are allowed to be edit:

https://pastebin.com/Lr7k9r2a
https://pastebin.com/UcjVJi8H


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C] by HaileyJOKERJul 6, 2021 02:27 AM 17 413 Jul 6, 2021 02:27 AM
Last Post: Lefty
[C] by SIM-3602340Feb 12, 2020 07:14 AM 9 269 Feb 12, 2020 07:14 AM
Last Post: SIM-3602340
[Java] by GrandpaSwampDec 14, 2019 09:09 PM 5 254 Dec 14, 2019 09:09 PM
Last Post: GenericSkid