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
b00blik / GraphDijkstra.java
Last active Feb 11, 2020
Dijkstra algo impl Java draft
View GraphDijkstra.java
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
b00blik / Graph.java
Last active Feb 11, 2020
Exploring graphs
View Graph.java
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.