#297

Serialize and Deserialize Binary Tree

hard· Treesruns: 0

Serialization is the process of converting a data structure into a sequence of bits so that it can be stored or transmitted, and reconstructed later. Design an algorithm to serialize and deserialize a binary tree. You may pick any string format you like.

sign in to paste and practice your own solution
desktop only

codedrill is a typing game and needs a real keyboard. open this on a laptop or desktop to practice.

you can still browse problems and sections from your phone.