Queue using a doubly linked list.
@jeremiah_tenbrink/doubly-linked-listnpm install @jeremiah_tenbrink/queue
yarn add @jeremiah_tenbrink/queue
import {Queue} from "@jeremiah_tenbrink/queue";
const q = new Queue();
q.enqueue('some value')
q.enqueue('another value')
while (!q.isEmpty()){
const current = q.dequeue();
console.log(current)
}
👤 Jeremiah Tenbrink
- Portfolio: http://tenbrink.dev
- GitHub: @jeremiahtenbrink
- LinkedIn: @jeremiahtenbrink
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Give a ⭐️ if this project helped you!
Copyright © 2020 Jeremiah Tenbrink.
This project is MIT licensed.
This README was generated with ❤️ by readme-md-generator