Skip to content

Instantly share code, notes, and snippets.

View prashunchitkr's full-sized avatar
🎯
Focusing

prashunchitkr

🎯
Focusing
  • Nepal
View GitHub Profile
conky.config = {
alignment = 'bottom_right',
background = true,
update_interval = 1.5,
cpu_avg_samples = 2,
net_avg_samples = 2,
out_to_console = false,
override_utf8_locale = true,
double_buffer = true,
no_buffers = true,
import java.util.Scanner;
public class Dijkstra {
private static final Integer INF = Integer.MAX_VALUE;
private static final Integer[][] GRAPH = {
{ 0, 4, INF, 2, INF, INF },
{ 4, 0, 5, 1, INF, INF },
{ INF, 5, 0, 8, 2, 6 },
{ 2, 1, 8, 0, 10, INF },
{ INF, INF, 2, 10, 0, 3 },