Bishop92/JavaScript-Data-Structures
Acerca de
Una biblioteca de estructuras de datos en JavaScript.
Herramientas de desarrolloCrecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -1
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
OriginalData Structures
A library for data structures in JavaScript
DataStructures is a JavaScript library where you can find the most common data structures and also other data structures more advanced. Various method are also provided in order to manipulate data structures.
This library implements the [iterator] (http://en.wikipedia.org/wiki/Iterator_pattern) pattern in order to hide the data structure that work for storing your data.
Supported data structures
- Stack
- Queue
- Priority Queue
- Circular Buffer
- Hash Table
- Linked List
- Double Linked List
- Binary search Tree
- Red-Black Tree
- Red-Black Tree List
- B-Tree
- Set
- Trie
How to use
Download the minimized library here (right click and save as...);
Include the file in your project;
Start to use it as any other class.
Example
var listA = new DoubleLinkedList();
var listB = new DoubleLinkedList();
listA.fromArray([0, 1]);
listB.fromArray([2, 3]);
listA.join(listB);
listA.toArray(); // [0, 1, 2, 3]
Documentation
Follow this link to read the full documentation. Follow this link to read the JSDoc.
Support
Battistella Stefano, [email protected]
Explorar proyectos relacionados
Cargando…