Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rsginer/ts-data-structures
https://github.com/rsginer/ts-data-structures
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/rsginer/ts-data-structures
- Owner: RSginer
- Created: 2020-03-12T13:49:50.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T15:51:57.000Z (almost 2 years ago)
- Last Synced: 2023-03-08T05:58:22.153Z (almost 2 years ago)
- Language: JavaScript
- Size: 916 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## DataStructures
## LinkedList
example usage
```js
// Constructors
const LinkedNode = DataStructures.LinkedListNode;
const LinkedList = DataStructures.LinkedList;// run
const nextNode = new LinkedNode(2);
const node = new LinkedNode(1);
const otherNode = new LinkedNode(3);node.pointTo(nextNode);
const list = new LinkedList(node);
list.add(otherNode);
```