Python: Get Size of a Binary Search Tree

preview_player
Показать описание
Learn to write a recursive getSize function to return the number of nodes in a Python binary search tree.

RELATED VIDEOS:

#Python
Рекомендации по теме
Комментарии
Автор

since both functions have exactly the same name getSize and (self) how does it know which function to recursively implement? Could you tell me, it is eating me up.

afsinyilmaz