From 802c4c9d5aa2c32875b2c064b9e4b656443e3dc4 Mon Sep 17 00:00:00 2001
From: bt3gl <138340846+bt3gl-cryptographer@users.noreply.github.com>
Date: Tue, 8 Aug 2023 17:45:16 -0700
Subject: [PATCH] Update README.md
---
queues/README.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/queues/README.md b/queues/README.md
index 83d658c..094266a 100644
--- a/queues/README.md
+++ b/queues/README.md
@@ -2,7 +2,7 @@
-* queues are **first in, first out (FIFO) abstract structures** (*i.e.*, items are removed at the same order they are added) that can be implemented with two arrays or a dynamic array (linked list), as long as items are added and removed from opposite sides.
+* queues are **first in, first out (FIFO) abstract structures** (*i.e.*, items are removed in the same order they are added) that can be implemented with two arrays or a dynamic array (linked list), as long as items are added and removed from opposite sides.
* queues support **enqueue** (add to one end) and **dequeue** (remove from the other end, or tail).
@@ -34,7 +34,7 @@
* to build a ring with a fixed size array, any of the elements could be considered as the head.
-* to enqueue, you loop the queue with the tail index until find a `None` (even if it has to loop back):
+* to enqueue, you loop the queue with the tail index until you find a `None` (even if it has to loop back):
@@ -137,7 +137,7 @@ class CircularQueue:
-* another version used only one index (for `head`) and calculates the tail with the equation:
+* another version used only one index (for `head`) and calculate the tail with the equation: