data-structures-nodejs
v1.0.2
Published
<h1 align="center">Welcome to data-structures-nodejs π</h1> <p> <img alt="Version" src="https://img.shields.io/badge/version-1.0.0-blue.svg?cacheSeconds=2592000" /> <a href="https://github.com/wantao666/data-structures-nodejs#readme" target="_blank">
Downloads
4
Readme
vary data structures implements by nodejs
.
βββ queue
β βββ array_queue.js
β βββ linked_queue.js
βββ stack
β βββ array_stack.js
β βββ linked_stack.js
βββ tree
βββ tree.js
Install
npm i data-structures-nodejs
Example
const { Queue } = require('data-structures-nodejs')
const queue = new Queue()
queue.enqueue(1)
queue.enqueue(2)
queue.dequeue() // 1
queue.dequeue() // 2
Author
π€ selenium39
- Website: https://blog.csdn.net/qq_45453266
- Github: @wantao666
π€ Contributing
Contributions, issues and feature requests are welcome!Feel free to check issues page. You can also take a look at the contributing guide.
Show your support
Give a βοΈ if this project helped you!
π License
Copyright Β© 2022 selenium39. This project is MIT licensed.
This README was generated with β€οΈ by readme-md-generator