Implement exercise binary-search-tree (#773)
This commit is contained in:
committed by
Nathan Parsons
parent
16ba6f52d1
commit
f236ea1ff6
14
exercises/binary-search-tree/binary_search_tree.py
Normal file
14
exercises/binary-search-tree/binary_search_tree.py
Normal file
@@ -0,0 +1,14 @@
|
||||
class TreeNode(object):
|
||||
def __init__(self, value):
|
||||
self.value = value
|
||||
|
||||
|
||||
class BinarySearchTree(object):
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
def add(self, value):
|
||||
pass
|
||||
|
||||
def search(self, value):
|
||||
pass
|
||||
Reference in New Issue
Block a user