UNPKG
gca
Version:
latest (3.0.0)
3.0.0
2.2.0
2.1.2
2.1.0
2.0.1
2.0.0
1.1.0
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Use classic algorithms for Graphs.
github.com/amirlib/gca
amirlib/gca
gca
/
LinkedList
/
Node.js
14 lines
(12 loc)
•
193 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/** * Implementation of node for the linked list. * *
@class
Node */
class
Node
{
constructor
(obj) {
this
.
data
= obj;
this
.next =
null
; } } module.exports = Node;