Skip to content

Instantly share code, notes, and snippets.

Yuri b00blik

Block or report user

Report or block b00blik

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
b00blik /
Last active Feb 11, 2020
Dijkstra algo impl Java draft
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
public class GraphDijkstra {
final String START_NAME = "start";
final String FINAL_NAME = "final";
HashMap<String, HashMap<String, Integer>> graph;
b00blik /
Last active Feb 11, 2020
Exploring graphs
import java.util.*;
class Graph {
int V; //num. of Vertices
LinkedList<Integer> adj[]; //Adjacency lists
Graph(int v) {
V = v;
adj = new LinkedList[v];
You can’t perform that action at this time.