MCPcopy Create free account
hub / github.com/Ayush7614/Daily-Coding-DS-ALGO-Practice / Edge

Class Edge

Leetcode/Java/DijsktraAlgo.java:8–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6// construction of the graph
7public class Main {
8 static class Edge {
9 int src;
10 int nbr;
11 int wt;
12
13 Edge(int src, int nbr, int wt) {
14 this.src = src;
15 this.nbr = nbr;
16 this.wt = wt;
17 }
18 }
19
20 public static class Pair implements Comparable<Pair>{
21 int vtx ;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected