Hack Forums
[Java] Java Heap Data Structures Assignment - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [Java] Java Heap Data Structures Assignment (/showthread.php?tid=5831535)



Java Heap Data Structures Assignment - VoidSpace - Apr 30, 2018

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


RE: Java Heap Data Structures Assignment - Bear - Apr 30, 2018

Can you Pastebin the code or paste it here?


RE: Java Heap Data Structures Assignment - GenericSkid - May 1, 2018

(Apr 30, 2018 09:14 PM)Ɓear 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


RE: Java Heap Data Structures Assignment - VoidSpace - May 1, 2018

(Apr 30, 2018 09:14 PM)Ɓear 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