TheAlgorithms / Rust

All Algorithms implemented in Rust
MIT License
22.91k stars 2.24k forks source link

Queue Implementation using a singly linked list #820

Closed Ismael144 closed 1 month ago

Ismael144 commented 1 month ago

Pull Request Template

Description

This is a queue implementation using a singly linked list, the queue leverage the efficiency of the linked list

Type of change

Please delete options that are not relevant.

Checklist:

Please make sure that if there is a test that takes too long to run ( > 300ms), you #[ignore] that or try to optimize your code or make the test easier to run. We have this rule because we have hundreds of tests to run; If each one of them took 300ms, we would have to wait for a long time.