Skip to content

Commit 77b28e7

Browse files
committed
Corrected table structure in queue and stack .md files
1 parent 29d77dc commit 77b28e7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/python/Data_Structures/python-queue.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Imagine a ticket line: the first person to join the line is the first person to
1111
Queues have two distinct ends where operations occur: the **Rear** (for insertion) and the **Front** (for removal).
1212

1313
| Operation | Description | Analogy |
14-
| :--- | :--- | :--- | :--- |
14+
| :--- | :--- | :--- |
1515
| **Enqueue** | Adds an element to the **Rear**. | Joining the back of the line. |
1616
| **Dequeue** | Removes an element from the **Front**. | Leaving the front of the line. |
1717
| **Peek** | Returns the front element without removing it. | Looking at the person next in line. |

docs/python/Data_Structures/python-stack.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ A stack has three primary operations, all of which occur at the **Top** of the s
1515
3. `Peek`: **Returns** the element at the top.
1616

1717
| Operation | Description | Analogy |
18-
| :--- | :--- | :--- | :--- |
18+
| :--- | :--- | :--- |
1919
| **Push** | Add element to the **Top** | Placing a plate on top of the stack |
2020
| **Pop** | Remove element from the **Top** | Taking the top plate off the stack |
2121
| **Peek** | View the element at the **Top** | Looking at the top plate |

0 commit comments

Comments
 (0)