Skip to content

Instantly share code, notes, and snippets.

View z11h's full-sized avatar
🌍
=)

zakaria ridouh z11h

🌍
=)
View GitHub Profile
@z11h
z11h / binarySearchTree.py
Created July 16, 2019 22:09 — forked from jakemmarsh/binarySearchTree.py
a simple implementation of a Binary Search Tree in Python
class Node:
def __init__(self, val):
self.val = val
self.leftChild = None
self.rightChild = None
def get(self):
return self.val
def set(self, val):