From 73f5abe5d763b44a1cccd1b891e68ed705f01fa2 Mon Sep 17 00:00:00 2001
From: jackbyebye1024 <57267425+jackbyebye1024@users.noreply.github.com>
Date: Tue, 30 Nov 2021 16:12:20 +0800
Subject: [PATCH 1/2] Update README.zh-CN.md
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

双向链表的删除部分,逻辑修改
---
 src/data-structures/doubly-linked-list/README.zh-CN.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/data-structures/doubly-linked-list/README.zh-CN.md b/src/data-structures/doubly-linked-list/README.zh-CN.md
index 03dd53c11d..b947704ee8 100644
--- a/src/data-structures/doubly-linked-list/README.zh-CN.md
+++ b/src/data-structures/doubly-linked-list/README.zh-CN.md
@@ -51,14 +51,14 @@ Remove(head, value)
     return true
   end if
   n ← head.next
-  while n = ø and value !== n.value
+  while n = !ø and value !== n.value
     n ← n.next
   end while
   if n = tail
     tail ← tail.previous
     tail.next ← ø
     return true
-  else if n = ø
+  else if n != ø
     n.previous.next ← n.next
     n.next.previous ← n.previous
     return true

From 238f747069668283fd3791385d1224d6eecb7d3e Mon Sep 17 00:00:00 2001
From: jackbyebye1024 <57267425+jackbyebye1024@users.noreply.github.com>
Date: Tue, 30 Nov 2021 16:30:31 +0800
Subject: [PATCH 2/2] Update README.zh-CN.md

---
 src/data-structures/doubly-linked-list/README.zh-CN.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/data-structures/doubly-linked-list/README.zh-CN.md b/src/data-structures/doubly-linked-list/README.zh-CN.md
index b947704ee8..097ec0c90c 100644
--- a/src/data-structures/doubly-linked-list/README.zh-CN.md
+++ b/src/data-structures/doubly-linked-list/README.zh-CN.md
@@ -19,7 +19,7 @@ Add(value)
   Pre: value is the value to add to the list
   Post: value has been placed at the tail of the list
   n ← node(value)
-  if head = ø
+  if head != ø
     head ← n
     tail ← n
   else
@@ -51,7 +51,7 @@ Remove(head, value)
     return true
   end if
   n ← head.next
-  while n = !ø and value !== n.value
+  while n != ø and value !== n.value
     n ← n.next
   end while
   if n = tail
@@ -74,7 +74,7 @@ ReverseTraversal(tail)
   Pre: tail is the node of the list to traverse
   Post: the list has been traversed in reverse order
   n ← tail
-  while n = ø
+  while n != ø
     yield n.value
     n ← n.previous
   end while