anyone can help?
General
• Last reply from Jake from AlgoDaily at May 31, 2019 at 7:38AM UTC
in https://algodaily.com/challenges/implement-a-graph, I don't get why
addEdge {
this.adjacencyList.get.push;
this.adjacencyList.get.push;
// push to both adjacency lists
}
we need to push to both? isn't edge for both?