Skip to content

Instantly share code, notes, and snippets.

View Paul-weqe's full-sized avatar
🍉
Breaking things

Paul-weqe

🍉
Breaking things
  • Kenya
View GitHub Profile
@Paul-weqe
Paul-weqe / djikstras.py
Created November 5, 2022 13:25
Custom implementation of the djikstras algorithm.
import math
from pprint import pprint as pp
class Node:
name = ""
def __init__(self, name=None):
self.name = name
def __repr__(self) -> str:
return f"<Node: {self.name}>"