(string)
| 83 | |
| 84 | |
| 85 | def deserialize(string): |
| 86 | constructDict = json.loads(string) |
| 87 | |
| 88 | def construct(treeDict): |
| 89 | |
| 90 | return Node(treeDict.get('val'), treeDict.get('left'), treeDict.get('right')) |
| 91 | |
| 92 | return construct(constructDict) |
| 93 | |
| 94 | |
| 95 | # test |
no test coverage detected