| 1 | import random |
| 2 | #binary tree python |
| 3 | class BinaryTree: |
| 4 | def __init__(self, content): |
| 5 | self.content = content |
| 6 | self.left = None |
| 7 | self.right = None |
| 8 | |
| 9 | def __str__(self): |
| 10 | return "( " + str(self.content) + " ( " + str(self.left) + " | " + str(self.right) + "))" |
| 11 | |
| 12 | class LinkedList: |
| 13 | def __init__(self,content): |
no outgoing calls
no test coverage detected