>>> list(BinaryTree.build_a_tree()) [1, 2, 7, 11, 15, 29, 35, 40]
(self)
| 73 | root: Node |
| 74 | |
| 75 | def __iter__(self) -> Iterator[int]: |
| 76 | """ |
| 77 | >>> list(BinaryTree.build_a_tree()) |
| 78 | [1, 2, 7, 11, 15, 29, 35, 40] |
| 79 | """ |
| 80 | return iter(self.root) |
| 81 | |
| 82 | def __len__(self) -> int: |
| 83 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected