-{"name":"Javascript-data-structures","tagline":"A library for data structure in JavaScript","body":"[Data Structures](https://github.com/Bishop92/JavaScript-Data-Structures)\r\n=================\r\n**A library for data structures in JavaScript**\r\n\r\nDataStructures is a JavaScript library where you can find the most common data structures and also other data\r\nstructures more advanced. Various method are also provided in order to manipulate data structures.\r\n\r\nThis library implements also the [iterator] (http://en.wikipedia.org/wiki/Iterator_pattern) pattern in order to hide\r\nthe data structure that work for storing your data.\r\n\r\nSupported data structures\r\n-------------------------\r\n- [Stack](https://rawgit.com/Bishop92/JavaScript-Data-Structures/master/doc/symbols/Stack.html)\r\n- [Queue](https://rawgit.com/Bishop92/JavaScript-Data-Structures/master/doc/symbols/Queue.html)\r\n- [Priority Queue](https://rawgit.com/Bishop92/JavaScript-Data-Structures/master/doc/symbols/PriorityQueue.html)\r\n- [Circular Buffer](https://rawgit.com/Bishop92/JavaScript-Data-Structures/master/doc/symbols/CircularBuffer.html)\r\n- [Hash Table](https://rawgit.com/Bishop92/JavaScript-Data-Structures/master/doc/symbols/HashTable.html)\r\n- [Linked List](https://rawgit.com/Bishop92/JavaScript-Data-Structures/master/doc/symbols/LinkedList.html)\r\n- [Double Linked List](https://rawgit.com/Bishop92/JavaScript-Data-Structures/master/doc/symbols/DoubleLinkedList.html)\r\n- [Binary Search Tree](https://rawgit.com/Bishop92/JavaScript-Data-Structures/master/doc/symbols/BSTree.html)\r\n- [Red-Black Tree](https://rawgit.com/Bishop92/JavaScript-Data-Structures/master/doc/symbols/RBTree.html)\r\n- [Red-Black Tree List](https://rawgit.com/Bishop92/JavaScript-Data-Structures/master/doc/symbols/RBTreeList.html)\r\n- [B-Tree](https://rawgit.com/Bishop92/JavaScript-Data-Structures/master/doc/symbols/BTree.html)\r\n- [Set](https://rawgit.com/Bishop92/JavaScript-Data-Structures/master/doc/symbols/Set.html)\r\n\r\nHow to use\r\n----------\r\n1. Download the minimized library [here](https://github.com/Bishop92/JavaScript-Data-Structures/blob/master/DataStructuresMinimized.js);\r\n\r\n2. Include the file in your project;\r\n\r\n3. Start to use it as any other class.\r\n\r\nExample\r\n\r\n```JavaScript\r\nvar listA = new DoubleLinkedList();\r\nvar listB = new DoubleLinkedList();\r\nlistA.fromArray([0, 1]);\r\nlistB.fromArray([2, 3]);\r\nlistA.join(listB);\r\nlistA.toArray(); // [0, 1, 2, 3]\r\n```\r\n\r\nDocumentation\r\n-------------\r\nFollow this [link](https://github.com/Bishop92/JavaScript-Data-Structures/wiki) to read the full documentation.\r\nFollow this [link](https://rawgit.com/Bishop92/JavaScript-Data-Structures/master/doc/index.html) to read the JSDoc.\r\n\r\nHistory\r\n-------\r\n\r\n### Future implementations\r\n\r\n- Persistence for data structures like array and lists.\r\n\r\n### Current state of the art\r\n- v 1.0.0 First release of the library.\r\n\r\nSupport\r\n-------\r\nBattistella Stefano, [stefano.battistella.92@gmail.com](mailto:stefano.battistella.92@gmail.com)","google":"","note":"Don't delete this file! It's used internally to help with page regeneration."}
0 commit comments