CTO asked me to Serialize and Deserialize a binary tree. (Leetcode hard)
Utilisateur anonyme
Used brackets or any character to show where the tree splits happened to signify the hierarchy. Once you're able to find and mark the splits, remaking the binary tree is straight forward.