일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- c# 추상 클래스
- Houdini
- docker
- HTML
- c# 윈폼
- c언어
- 다트 언어
- vim
- c#
- git
- dart 언어
- 도커
- jupyter
- jupyter lab
- Flutter
- 포인터
- C# delegate
- 깃
- 유니티
- C언어 포인터
- gitlab
- Data Structure
- Algorithm
- 플러터
- github
- 구조체
- Unity
- C++
- Python
- c# winform
Archives
- Today
- Total
목록python 이진 트리 알고리즘 (1)
nomad-programmer

Python으로 만드는 이진 트리 알고리즘 class TreeNode: def __init__(self): self.__data = None self.__left = None self.__right = None def __del__(self): print('TreeNode of {} is deleted'.format(self.data)) @property def data(self): return self.__data @data.setter def data(self, data): self.__data = data @property def left(self): return self.__left @left.setter def left(self, left): self.__left = left @property ..
Programming/Algorithm
2021. 2. 9. 15:38