UNPKG

gca

Version:

Use classic algorithms for Graphs.

14 lines (12 loc) 193 B
/** * Implementation of node for the linked list. * * @class Node */ class Node { constructor(obj) { this.data = obj; this.next = null; } } module.exports = Node;