Skip to content

Commit

Permalink
update DS indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
ghimiresdp committed Sep 19, 2024
1 parent 1a30f36 commit 20c48bb
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 30 deletions.
35 changes: 12 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,31 +19,20 @@ cargo test --bin huffman

## [1. Data Structures](./data-structures/)

### [1.1. **Basic Data Structures**](data-structures/)

1. **Arrays**
- [Find the missing number](./data-structures/ds001_find_missing_number.rs) `cargo run --bin ds001`
- [Find the length of the longest sub-array with sum K](./data-structures/ds002_longest_subarray.rs) `cargo run --bin ds002`
- [Find the missing number](data-structures/src/ds001_find_missing_number.rs) `cargo run --bin ds001`
- [Find the length of the longest sub-array with sum K](data-structures/src/ds002_longest_subarray.rs) `cargo run --bin ds002`
2. **Singly Linked Lists**
- [Add two linked list](./data-structures/ds101_linked_list_add.rs) `cargo run --bin ds101`
3. [**Doubly Linked Lists**](./data-structures/doubly_linked_list.rs) `cargo run --bin doubly_linked_list`
4. [**Stacks**](./data-structures/stack.rs) `cargo run --bin stack`
5. [**Queues**](./data-structures/queue.rs) `cargo run --bin queue`

### [1.2. **Complex Data Structures**](data-structures/)

1. [Binary Trees](./data-structures/binary_tree.rs) `cargo run --bin binary_tree`
2. [Heaps]
3. [Hash tables]
4. [Graphs]

### [1.3. **Advanced Data Structures**](data-structures/)

1. Segment Trees
2. Fenwick Trees (Binary Indexed trees)
3. Suffix Trees
4. Trie
5. Disjoint Set
- [Add two linked list](./data-structures/src/ds101_linked_list_add.rs) `cargo run --bin ds101`
3. [**Doubly Linked Lists**](./data-structures/src/doubly_linked_list.rs) `cargo run --bin doubly_linked_list`
4. [**Stacks**](./data-structures/src/stack.rs) `cargo run --bin stack`
5. [**Queues**](./data-structures/src/queue.rs) `cargo run --bin queue`
6. [Binary Trees](./data-structures/src/binary_tree.rs) `cargo run --bin binary_tree`
7. Segment Trees
8. Fenwick Trees (Binary Indexed trees)
9. Suffix Trees
10. Trie
11. Disjoint Set

## [2. Algorithms](./algorithms/README.md)

Expand Down
14 changes: 7 additions & 7 deletions data-structures/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,29 +9,29 @@ edition = "2021"
# ==================================[ Arrays ]==================================
[[bin]]
name = "ds001"
path = "./ds001_find_missing_number.rs"
path = "src/ds001_find_missing_number.rs"

[[bin]]
name = "ds002"
path = "./ds002_longest_subarray.rs"
path = "src/ds002_longest_subarray.rs"

# ===============================[ Linked Lists ]===============================
[[bin]]
name = "ds101"
path = "./ds101_linked_list_add.rs"
path = "src/ds101_linked_list_add.rs"

[[bin]]
name = "doubly_linked_list"
path = "./doubly_linked_list.rs"
path = "src/doubly_linked_list.rs"
# ==================================[ Stacks ]==================================
[[bin]]
name = "stack"
path = "./stack.rs"
path = "src/stack.rs"
# ==================================[ Queues ]==================================
[[bin]]
name = "queue"
path = "./queue.rs"
path = "src/queue.rs"
# ===============================[ Binary Tree ]================================
[[bin]]
name = "binary_tree"
path = "./binary_tree.rs"
path = "src/binary_tree.rs"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 20c48bb

Please sign in to comment.