This repository has been archived on 2021-10-31. You can view files and clone it, but cannot push or open issues or pull requests.
DSA/tree.py

11 lines
154 B
Python
Raw Normal View History

2019-04-09 11:38:46 +00:00
#!/usr/bin/env python3
# vim: set ts=2 sw=2 et tw=80:
class Node:
def __init__(self, k):
self.key = k
self.left = None
self.right = None