Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/data-structure-and-algorithms/data-structures/queue.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ sidebar_position: 6

# Queue

:::tip[Status]

This note is complete, reviewed, and considered stable.

:::

A **queue** is a linear data structure that follows the **First In First Out (FIFO)** principle. Elements are added at one end (called the **rear**) and removed from the other end (called the **front**).

## Main Data Structure Implementation in Python
Expand Down
6 changes: 6 additions & 0 deletions docs/data-structure-and-algorithms/data-structures/stack.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ sidebar_position: 5

# Stack

:::tip[Status]

This note is complete, reviewed, and considered stable.

:::

A **stack** is a linear data structure that follows the **Last In, First Out (LIFO)** principle. This means that the element added most recently to the stack is the first to be removed.

Stacks can be visualized as a collection of elements piled one on top of another, much like a stack of plates.
Expand Down
16 changes: 10 additions & 6 deletions docs/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,13 +158,17 @@ If you come across any issues or errors in the notes, feel free to open an issue

1. [Data Structure and Algorithms](/docs/data-structure-and-algorithms/introduction.md)
1. [Data Structures](/docs/data-structure-and-algorithms/data-structures/introduction.md)
1. [Introduction](/docs/data-structure-and-algorithms/data-structures/introduction.md)
2. [Arrays](/docs/data-structure-and-algorithms/data-structures/arrays.md)
3. [Hash Table](/docs/data-structure-and-algorithms/data-structures/hash-table.md)
1. [Introduction](/docs/data-structure-and-algorithms/data-structures/introduction.md) <StableStatus />
2. [Arrays](/docs/data-structure-and-algorithms/data-structures/arrays.md) <StableStatus />
3. [Hash Table](/docs/data-structure-and-algorithms/data-structures/hash-table.md) <StableStatus />
4. [Stack](/docs/data-structure-and-algorithms/data-structures/stack.md) <StableStatus />
5. [Queue](/docs/data-structure-and-algorithms/data-structures/queue.md) <StableStatus />
1. [Algorithms](/docs/data-structure-and-algorithms/algorithms/introduction.md)
1. [Introduction](/docs/data-structure-and-algorithms/algorithms/introduction.md)
2. [Recursion](/docs/data-structure-and-algorithms/algorithms/recursion.md)
3. [Sorting](/docs/data-structure-and-algorithms/algorithms/sorting.md)
1. [Introduction](/docs/data-structure-and-algorithms/algorithms/introduction.md) <StableStatus />
2. [Recursion](/docs/data-structure-and-algorithms/algorithms/recursion.md) <StableStatus />
3. [Sliding Window](/docs/data-structure-and-algorithms/algorithms/sliding-window.md) <StableStatus />
4. [Two Pointers](/docs/data-structure-and-algorithms/algorithms/two-pointers.md) <StableStatus />
3. [Sorting](/docs/data-structure-and-algorithms/algorithms/sorting.md) <StableStatus />
1. [Time and Space Complexity](/docs/data-structure-and-algorithms/introduction.md)

### Operating Systems
Expand Down
Loading