← All problems
Hard · Trees

Serialize And Deserialize Binary Tree

Encode a tree and restore its exact shape and values.

Full problem and submission ↗
main.js

Console

Ready