Skip to content

Latest commit

 

History

History
35 lines (29 loc) · 486 Bytes

specs.md

File metadata and controls

35 lines (29 loc) · 486 Bytes

Types to take into account when implementing code

It's in C notation, I'm very sorry.

Input

struct Input {
  void* value; // String
  int priority;
}

Node

struct Node {
  void* data; // LinkedList
  int priority;
}

Data

struct Data {
  void* value; // String
  void* next; // Data
}

Actual structure

Similar to this C++ thing

vector<Node> heap;

We will use this implementation.