Commit 93acf97

mo khan <mo.khan@gmail.com>
2020-07-04 18:50:19
Add code comments for structs
1 parent 3f214c3
Changed files (1)
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;