* First three fixed files * atbash-cipher * next two * Another 2 * Update exercises/practice/alphametics/.meta/example.py Co-authored-by: BethanyG <BethanyG@users.noreply.github.com> * Update exercises/practice/atbash-cipher/.meta/example.py Co-authored-by: BethanyG <BethanyG@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: BethanyG <BethanyG@users.noreply.github.com> * Fix test failing; Fix oversights * lol * Fixed some stuff * BOBBY!! * affine cipher Co-authored-by: BethanyG <BethanyG@users.noreply.github.com>
20 lines
401 B
Python
20 lines
401 B
Python
class TreeNode:
|
|
def __init__(self, data, left=None, right=None):
|
|
self.data = None
|
|
self.left = None
|
|
self.right = None
|
|
|
|
def __str__(self):
|
|
return f'TreeNode(data={self.data}, left={self.left}, right={self.right})'
|
|
|
|
|
|
class BinarySearchTree:
|
|
def __init__(self, tree_data):
|
|
pass
|
|
|
|
def data(self):
|
|
pass
|
|
|
|
def sorted_data(self):
|
|
pass
|