Skip to content

Commit ecb5cd6

Browse files
committed
update
1 parent a9acbc3 commit ecb5cd6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/data-structure/graph/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
### Understanding Graphs
1+
# Understanding Graphs
22

33
A graph is a collection of nodes (also called vertices) and edges that connect pairs of nodes. Graphs can be:
44
- **Directed or Undirected:** In a directed graph, edges have a direction, while in an undirected graph, edges do not.

src/data-structure/queue/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
### Understanding Queue
1+
# Understanding Queue
22

33
A queue is a linear data structure that follows the First-In-First-Out (FIFO) principle, where elements are inserted from one end called the rear (or back) and removed from the other end called the front. This makes queues ideal for scenarios where the order of operations matters, such as task scheduling, handling requests in a web server, or managing tasks in an operating system.

src/data-structure/stack/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
### Understanding Stack
1+
# Understanding Stack
22

33
A stack is a linear data structure that follows the Last-In-First-Out (LIFO) principle, where elements are added (pushed) and removed (popped) from the same end, referred to as the top of the stack. Stacks are used in various applications such as expression evaluation, backtracking algorithms, and function call management in programming languages.

0 commit comments

Comments
 (0)