alexandria_data_structures 0.1.0

A set of Cairo data structure libraries and algorithms

Readme

Data structures

Array extension

A collection of handy functions to help with array manipulation.

Queue

The queue is used to store and manipulate a collection of elements where the elements are processed in a first-in, first-out (FIFO) order. The purpose of the queue algorithm is to provide a way to manage and process elements in a specific order, where the oldest element is processed first. The queue algorithm has applications in various areas of computer science, including operating systems, networking, and data processing. It is used to manage tasks that are processed in a specific order and ensure that the order is maintained. By providing a simple and efficient way to manage elements in a specific order, the queue algorithm is an important tool in computer science and software development.

Stack

The stack is used to store and manipulate a collection of elements where the elements are processed in a last-in, first-out (LIFO) order. The purpose of the stack algorithm is to provide a way to manage and process elements in a specific order, where the most recently added element is processed first. The stack algorithm has applications in various areas of computer science, including programming languages, operating systems, and network protocols. It is used to manage tasks that require a temporary storage of data or information, and also for processing recursive function calls. By providing a simple and efficient way to manage elements in a specific order, the stack algorithm is an important tool in computer science and software development.

Metadata

Version 0.1.0

Uploaded 3 months ago

Size 17.6 KB

Installation

Run the following command in your project dir

scarb add alexandria_data_structures@0.1.0

Or add the following line to your Scarb.toml

alexandria_data_structures = "0.1.0"

Monthly downloads

Links

Homepage github.com/keep-starknet-strange/alexandria/tree/main/src/data_structures

Owners