Commit 93acf97
Changed files (1)
src
01
01a
src/01/01a/priority_queue.h
@@ -1,3 +1,6 @@
+/**
+ * A struct that represents a single node in a linked list
+ */
struct node {
int priority;
int data;
@@ -6,6 +9,9 @@ struct node {
typedef struct node Node;
+/**
+ * A struct that represents a Queue implemented using a Singly Linked List.
+ */
typedef struct {
Node *head;
int size;