From 2eb5e9652f6a09063e1497452f90a135bfd070ce Mon Sep 17 00:00:00 2001 From: mo khan Date: Mon, 29 Jun 2020 15:55:25 -0600 Subject: Fix bug when adding item to priority queue --- src/01/01a/priority_queue_test.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/01/01a/priority_queue_test.c') diff --git a/src/01/01a/priority_queue_test.c b/src/01/01a/priority_queue_test.c index 29da2b3..4f4824e 100644 --- a/src/01/01a/priority_queue_test.c +++ b/src/01/01a/priority_queue_test.c @@ -15,6 +15,7 @@ Analyze the running time of the `add(x)` and `deletMin()` operations based on th static void inspect(PriorityQueue *queue) { Node *tmp = queue->head; + printf("Inspecting...\n"); while(tmp) { printf("%d\n", tmp->data); tmp = tmp->next; -- cgit v1.2.3