Returns a string representation of the inorder traversal of the binary tree. >>> str(list(BinaryTree.build_a_tree())) '[1, 2, 7, 11, 15, 29, 35, 40]'
(self)
| 87 | return len(self.root) |
| 88 | |
| 89 | def __str__(self) -> str: |
| 90 | """ |
| 91 | Returns a string representation of the inorder traversal of the binary tree. |
| 92 | |
| 93 | >>> str(list(BinaryTree.build_a_tree())) |
| 94 | '[1, 2, 7, 11, 15, 29, 35, 40]' |
| 95 | """ |
| 96 | return str(list(self)) |
| 97 | |
| 98 | @property |
| 99 | def is_sum_tree(self) -> bool: |
nothing calls this directly
no outgoing calls
no test coverage detected