An open API service indexing awesome lists of open source software.

https://github.com/dorosch/datastructures

Rust implementations of data structures
https://github.com/dorosch/datastructures

algorithms data-structures educational-project rust

Last synced: 3 months ago
JSON representation

Rust implementations of data structures

Awesome Lists containing this project

README

        

# Data Structures

`DataStructures` is a Rust project created for educational purposes, providing implementations of various data structures.

Each data structure is designed as a library with tests and documentation.

## Complexity

Here's a table showing the time complexity of various data structures:

| Data Structure | Access | Search | Insertion | Deletion | Space Complexity |
| -------------- | ------ | ------ | --------- | -------- | ---------------- |
| Stack | O(n) | O(n) | O(1) | O(1) | O(n) |
| Linked list | O(n) | O(n) | O(1) | O(1) | O(n) |