This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const originalhtml = ` | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
</head> | |
<h1>Title 1</h1> | |
<p>Some stuff 1</p> | |
<h2>Subtitle 1</h2> | |
pandoc-toc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
from collections import defaultdict | |
from datetime import datetime | |
from math import log, ceil | |
class Graph: | |
def __init__(self, nb_vertex, nb_max_edge_per_node): | |
self.graph = defaultdict(list) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import operator as op | |
import random | |
from functools import reduce | |
from datetime import datetime | |
'''' | |
This four functions were used to find the lower bound | |
''' |