algorithms-rs 0.1.11

Implementation of The Introduction to Algorithms Thrid Edition By Rust programming Language
Documentation
#![cfg_attr(not(feature = "std"), no_std)]
//! # Introduction to algorithms
//! > thrid edition implement by rust programming
//!
//! ## Now Implement
//!    - heap sort algorithm
//!        - Max Heap
//!             - Asc sort by Max Heap,`asc_sort_with_max_sift`, `heap_sort_by_max_heap`
//!        - Min Heap
//!             - Dec sort by Min Heap, `dec_sort_with_min_sift`, `heap_sort_by_min_heap`
//!    - stack
//!         - push top element
//!         - pop top element
//!    - queue
//!         - push queue tail element
//!         - pop queue head element
//!
extern crate alloc;

/// heap sort module
pub mod heap;
/// queue struct module
pub mod queue;
/// stack struct module
pub mod stack;

/// sort algorithm
pub mod sort;

/// search algorithm
pub mod search;

#[cfg(test)]
mod tests;
pub mod utils;

pub mod chapter4;

pub use heap::Heap;
pub use queue::Queue;
pub use stack::Stack;