It's in C notation, I'm very sorry.
struct Input {
void* value; // String
int priority;
}
struct Node {
void* data; // LinkedList
int priority;
}
struct Data {
void* value; // String
void* next; // Data
}
Similar to this C++ thing
vector<Node> heap;
We will use this implementation.