yangshun / lago

📕 Data Structures and Algorithms library in TypeScript and JavaScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add Graph Node

mauris opened this issue · comments

commented

A graph can have a value, and zero, one or more neighbours.

commented

@yangshun we also need to consider the 3 way we represent graphs. cough Dr Steven Halim cough

Hi @yangshun, are we still open to contributing to this repo?

Yeah go ahead

We're not going to implement a GraphNode as we have opted for a Graph data structure that encapsulates the representation for Nodes and Edges.