MCPcopy
hub / github.com/HuberTRoy/leetCode / serializeAndDeserialize.py

File serializeAndDeserialize.py

Tree/serializeAndDeserialize.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""
2Given the root to a binary tree, implement serialize(root),
3which serializes the tree into a string, and deserialize(s),
4which deserializes the string back into the tree.

Callers

nothing calls this directly

Calls 3

NodeClass · 0.85
deserializeFunction · 0.85
serializeMethod · 0.45

Tested by

no test coverage detected