diff options
| author | mo khan <mo.khan@gmail.com> | 2020-06-29 15:55:25 -0600 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-06-29 15:55:25 -0600 |
| commit | 2eb5e9652f6a09063e1497452f90a135bfd070ce (patch) | |
| tree | 2be77327f9bc2c140acb7e540ae6b175c2077a65 /src/01/01a/priority_queue_test.c | |
| parent | 749c683c1daab59658a8e23449009d44a6b7323c (diff) | |
Fix bug when adding item to priority queue
Diffstat (limited to 'src/01/01a/priority_queue_test.c')
| -rw-r--r-- | src/01/01a/priority_queue_test.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |
