From a57e112b89cffc17147542cfac68d49716ac4395 Mon Sep 17 00:00:00 2001 From: NaiJi Date: Fri, 26 Apr 2024 17:31:39 +0400 Subject: [PATCH] 8 remove prev --- The Last Algorithms Course You'll Need/8. Queue.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/The Last Algorithms Course You'll Need/8. Queue.c b/The Last Algorithms Course You'll Need/8. Queue.c index b1319c9..dfb3eef 100644 --- a/The Last Algorithms Course You'll Need/8. Queue.c +++ b/The Last Algorithms Course You'll Need/8. Queue.c @@ -9,7 +9,6 @@ typedef struct node { int value; struct node *next; - struct node *prev; } Node; typedef struct @@ -31,7 +30,6 @@ BOOL enqueue(int value) return FALSE; new_head->value = value; - new_head->prev = HEAD; if (HEAD != NULL) HEAD->next = new_head;