mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-22 09:12:08 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
fdbf9b12e5
commit
1bc1dfda5f
|
@ -10,12 +10,12 @@ Useful Links: https://www.geeksforgeeks.org/applications-advantages-and-disadvan
|
||||||
https://en.wikipedia.org/wiki/Graph_(discrete_mathematics)
|
https://en.wikipedia.org/wiki/Graph_(discrete_mathematics)
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
from collections import deque
|
from collections import deque
|
||||||
from math import floor
|
from math import floor
|
||||||
from random import random
|
from random import random
|
||||||
from time import time
|
from time import time
|
||||||
|
|
||||||
|
|
||||||
class DirectedGraph:
|
class DirectedGraph:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.graph = {}
|
self.graph = {}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user