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
# Quentin Wach, AVL Tree | |
class Node: | |
def __init__(self, key, leftChild=None, rightChild=None, parent=None): | |
self.key = key | |
self.leftChild = leftChild | |
self.rightChild = rightChild | |
self.parent = parent | |
self.height = 1 |
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
# Random Walker ThP4 14.Mai 2020 | |
# Quentin Wach | |
import matplotlib.pyplot as plt | |
import matplotlib | |
import matplotlib.ticker as ticker | |
from matplotlib import rc | |
rc('font',**{'family':'sans-serif','sans-serif':['Helvetica']}) | |
rc('text', usetex=True) | |
import numpy as np | |
import math |
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
# Random Walker ThP4 14.Mai 2020 | |
# Quentin Wach | |
import matplotlib.pyplot as plt | |
import matplotlib | |
import matplotlib.ticker as ticker | |
from matplotlib import rc | |
rc('font',**{'family':'sans-serif','sans-serif':['Helvetica']}) | |
rc('text', usetex=True) | |
import numpy as np | |
import math |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.