priorityqueue.h 246 B

123456789101112
  1. #include "json.hpp"
  2. void insert(int k);
  3. void removeMax();
  4. void removeKey();
  5. void change(int*, int*);
  6. // helpful functions
  7. void heapifyUp();
  8. void heapifyDown();
  9. nlohmann::json JSON();
  10. // other required functions (for now)
  11. void initiateHeap(int);