diff options
Diffstat (limited to 'src/01')
| -rw-r--r-- | src/01/01a/priority_queue.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/01/01a/priority_queue.h b/src/01/01a/priority_queue.h index 95cc242..e5390f7 100644 --- a/src/01/01a/priority_queue.h +++ b/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; |
