emory-courses / dsa-java

Data Structures and Algorithms in Java
https://emory.gitbook.io/dsa-java/
42 stars 55 forks source link

[QZ#2 Coding requirement] #44

Closed lcunild closed 4 years ago

lcunild commented 4 years ago

Can we modify the code we have written for the binary heap class for the quiz, or should we be implementing all of the methods from scratch for the ternary heap?

lujiaying commented 4 years ago

The information from https://emory.gitbook.io/dsa-java/priority-queues/exercises might be helpful.

Create a class called TernaryHeapQuiz under the main queue package that extends the abstract class AbstractPriorityQueue. Feel free to use the code in BinaryHeap.